upload problem...

From: Date: Mon, 18 Feb 2002 10:57:47 +0000
Subject: upload problem...
Groups: php.general 
Request: Send a blank email to php-general+get-85172@lists.php.net to get a copy of this message
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>" ; ?>

« previous php.general (#85172) next »