Re: Newbie file upload

From: Date: Fri, 23 Jun 2000 18:53:43 +0000
Subject: Re: Newbie file upload
References: 1 2 3 4 5  Groups: php.windows 
Request: Send a blank email to php-windows+get-621@lists.php.net to get a copy of this message
I think I see the problem. It happened to me on Windows too. I didn't define the temp directory in PHP.ini, I just left it blank and it was SUPPOSED to use the "default windows temp directory". But I kept getting that same error you have. I changed the default temp directory to something specific, and then everything began to work fine. Chris "Jordi Marquès." wrote: > what are you telling about? > > I can't do upload with php on windows 98 and pws, If you have done an upload > with any windows tell me which you used? > > Isn't difficult to understand this simple question no? > > The OS matter cause I have listen that you can't do upload working with w9x, > what do you think?? > > Too much people have send me code but with all this code I have the same > problem. > > for example the file to upload: > AltaVista - Image Results.htm > > userfile: C:\\WINDOWS\\TEMP\\php2 > userfile_name: AltaVista - Image Results.htm > temporary file name :.C:\\WINDOWS\\TEMP\\php2 > original name :.AltaVista - Image Results.htm > file size :.32255 > file type :.text/html > Warning: Unable to open 'C:\\WINDOWS\\TEMP\\php2' > > It can read the size name and type but OS can't read the file what a shit!!! > > ----- Original Message ----- > From: Stas Trefilov <stas.t@cpstc.com> > To: <php-windows@lists.php.net> > Sent: Friday, June 23, 2000 4:28 PM > Subject: Re: [PHP-WINDOWS] Newbie file upload > > > "Jordi Marquès." wrote: > > > > > > Hello, > > > > > > please tell me under which OS are you working to do this upload? what > > > stripslashes do? > > > > > > tks f advance > > > > > > trespi. > > > > > > > > > Too many questions for me... Os doesn't matter... stripslashes... they > just... > > uhm... strip that... #%%^&@$... ugly... slashes... Yeah!!! > > > > -- > > Stas Trefilov > > Moscow Russia > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > > For additional commands, e-mail: php-windows-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#621) next »