Re: file upload temp file is and isn't there

From: Date: Wed, 14 Feb 2001 00:25:47 +0000
Subject: Re: file upload temp file is and isn't there
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39539@lists.php.net to get a copy of this message
Aaron, Are you processing the file on the page you're "posting" to? Could you send your processing code so we can have a look? If you're still having problems, I can send you an example. Jason --- "Aaron D. Turner" <aturner@pobox.com> wrote: > -----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----- > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

« previous php.general (#39539) next »