Problem of varible
| From: | edwardspl at ita dot org dot mo | Date: | Mon, 11 Oct 2004 15:43:43 +0000 |
| Subject: | Problem of varible | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199186@lists.php.net to get a copy of this message | ||
Dear You,
When disable the globals varibles function, the following php can't be
good for working :
upload1.htm
<Form Action="getfile1.php" Method="POST"
Enctype="multipart/form-data">
<Input Type="File" Name="upfile" ><p>
<Input Type="Submit" value="Send">
</Form>
getfile1.php
<?
echo "File Name:$upfile_name<BR>";
echo "File Size:$upfile_size<BR>";
echo "File Type:$upfile_type<BR>";
echo "Temp File:$upfile<BR>";
copy($upfile, "/tmp/$upfile_name");
?>
Thank for your help !
Edward.