Sirs,
I have a very usually upload code as stated below:
<?php
//echo variables
echo $HTTP_POST_FILES['userfile']['tmp_name'];
echo $HTTP_POST_FILES['userfile']['name'];
echo $HTTP_POST_FILES['userfile']['type'];
echo $HTTP_POST_FILES['userfile']['size'];
$uploaddir = '/home/sites/home/web/'
copy ($HTTP_POST_FILES['userfile']['tmp_name'], $uploaddir . $HTTP_POST_FILES['userfile']['name']);
?>
Otherwise it doen´t work and the variable tmp_name and size returns ´none´ and ´0´!!!
Any idea? My PHP info page is
http://www.neoprint.com.br/info.php
Thanks in advance,
Dekar