Problem of varible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux