file upload temp file is and isn't there

From: Date: Tue, 13 Feb 2001 23:21:01 +0000
Subject: file upload temp file is and isn't there
Groups: php.general 
Request: Send a blank email to php-general+get-39524@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Solaris 7 Apache 1.3.14 PHP 4.0.4p1 For the life of me I can't figure out what's going on. I have: <form enctype='multipart/form-data' action='/admin/upload.php' method='post'> <input type=hidden name=MAX_FILE_SIZE value=5000> <input type=hidden name=uploadingfile value=true> Choose File: <input name=userfile size=69 type=file><P> <input type=submit value='Send File'></form> and I can try to upload a file, but then the HTTP_POST_FILES hash doesn't get properly populated and no file is stored in the upload directory. Basically: HTTP_POST_FILES["userfile"] Array ( [name] =>1323.txt [type] =>text/plain [tmp_name] =>none [size] => 0 ) I've set my php.ini with: upload_tmp_dir = /tmp and nothing gets put in there (I've verified that the dir has world r/w w/ suid). Any ideas of how to debug this futher? - -- Aaron Turner <aturner@pobox.com|synfin.net|linuxkb.org> URI:www.synfin.net They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin pub 1024D/F86EDAE6 Sig: 3167 CCD6 6081 0FFC B749 9A8F 8707 9817 F86E DAE6 All emails by me are PGP signed; a lack of a signature indicates a forgery. I have retired my PGP 2.6.2 key: FBE1 CEED 57E4 AB80 596E 60BF 451B 20E8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Public key at: http://www.synfin.net/aturner/pgpkey.asc iEYEARECAAYFAjqJwWEACgkQhweYF/hu2uYnjgCfbXQVLYBwVnmAE5RHRxeTtdFI YgAAoIf9w7fNcbFmxyT/LlRUHa3lHfqB =Jqdm -----END PGP SIGNATURE-----

« previous php.general (#39524) next »