hi my name is Cristiano and I've a question: why the function "is_uploaded_file" return "1"?
my example file is index.php thanks <?php function carica() { global $userfile; echo "<br>FUNZIONE is_uploaded_file (è un boolean 0 - vero, 1 - falso)--> ".is_uploaded_file ($userfile); } echo "" ."<form action=\"index.php?op=carica\" method=\"post\" " ."enctype=\"multipart/form-data\">" ."<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"2000000\">" ."File: <input name=\"userfile\" type=\"file\">" ; echo "" ."<input type=\"submit\" value=\"invia\" name=\"B1\">" ."</form>" ."<a href=index.php>clear form</a>" ; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php