Jay Blanchard wrote:
[snip]
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");
?>
[/snip]
echo "File Nameï$_POST['upfile_name']<BR>";
echo "File Sizeï$_POST['upfile_size']<BR>";
echo "File Typeï$_POST['upfile_type']<BR>";
echo "Temp Fileï$_POST['upfile']<BR>";
You mean $_FILES, not $_POST.
$_FILES['upfile']['name'], etc...
http://us2.php.net/manual/en/features.file-upload.php
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals â www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php