Re: Upload problem with PHP and Windows
| From: | Frank M. Kromann | Date: | Mon, 12 Jun 2000 07:06:29 +0000 |
| Subject: | Re: Upload problem with PHP and Windows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1594@lists.php.net to get a copy of this message | ||
Hi All,
This error has to do with access rights. The user used by the web server to execute the requests
should have read and write access to the temp folder and change rights to the drive and all folders
in the path to the temp folder.
- Frank
>
>Well, right off the top of my head, the error is about opening
>a file FOR READING, ie, this indicates that the script is trying
>to read-in this file from the "client" side of the connection ...
>It doesn't seem to refer to the write-it-to-the-server side of the
>equation.
>
>Without a sample of your code, we're not going to get much further.
>
>-- cheers, Erik
>
>----- Original Message -----
>From: "MM" <mcfadden@optonline.com>
>To: <php-general@lists.php.net>
>Sent: Sunday, June 11, 2000 4:18 PM
>Subject: [PHP-GENERAL] Upload problem with PHP and Windows
>
>
>> I imagine somewhere in the 60,000 messages I don't have time to
>search on
>> this board is the answer to the following question:
>>
>> What do you do when you get this error message while uploading a
>file:
>>
>> "Unable to open 'c:\\windows\\TEMP\\php5' for reading: No such file
>or
>> directory in
>C:\WEBSHARE\WWWROOT\learningPHP\upload.php
>> on line 9"
>>
>> I have tried changing my upload_tmp_dir variable in php.ini even
>though the
>> change is reflected in in user_info, it continues to harp about
>> C:\\windows\\temp in the upload error message. I am sure my code is
>sound.
>>
>> Has anyone had this problem; if so, please help.
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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
>>
>
>
>--
>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
>
>
>
Swwwing A/S
Frank M. Kromann
VP Development
Phone: +45 70 20 77 20
Fax: +45 70 20 77 21
http://www.swwwing.com