Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/main/conference/testpost.php

15 lines
535 B

<?php
/* See license terms in /license.txt */
//file_put_contents("result.txt", print_r($_POST, true));
//file_put_contents("result3.txt", print_r($_FILES, true));
//file_put_contents("result2.txt", print_r($_GET, true));
require('../inc/global.inc.php');
if(api_get_setting('service_visio','active')=='true'
&& $_SERVER['REMOTE_HOST'] == api_get_setting('service_visio','visio_host'))
{
$target = "/tmp/";
$target = $target . basename( $_FILES['file']['name']) ;
if(move_uploaded_file($_FILES['file']['tmp_name'], $target));
}
?>