| Files Uploaded |
| File Name |
File size |
/*
* SET THE SAVE PATH by editing the line below. Make sure that the path
* name ends with the correct file system path separator ('/' in linux and
* '\\' in windows servers (eg "c:\\temp\\uploads\\" )
*/
/*
* code reproduced with permission from Rad Inks (Pvt) Ltd.
*/
$save_path="";
$file = $_REQUEST['userfile'];
$k = count($file['name']);
for($i=0 ; $i < $k ; $i++)
{
if($i %2)
{
echo ' ';
}
else
{
echo '
';
}
echo '| ' . $file['name'][$i] ." | \n";
echo '' . $file['size'][$i] ." |
\n";
/**
* this section is not needed since the perl script will be saving the file.
*/
/*
if(isset($save_path) && $save_path!="")
{
$name = split('/',$file['name'][$i]);
move_uploaded_file($file['tmp_name'][$i], $save_path . $name[count($name)-1]);
}
*/
}
/*
if(! isset($save_path) || $save_path =="")
{
echo '| Files have not been saved, please edit upload.php to match your configuration |
';
}
*/
?>
Sample PHP Upload handler provided by
Rad Inks
have you seen our Secure FTP Applet or
our Multimedia Messaging Solution?