Re: permission failure with fopen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Already tried with file mode "wb", but same failure ...
I will try using chmod's on directory and file.

Thanks, Cor

----- Original Message ----- From: "Paul Scott" <pscott@xxxxxxxxx>
To: <tgol@xxxxxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Friday, November 07, 2008 2:35 PM
Subject: Re:  permission failure with fopen



On Fri, 2008-11-07 at 14:27 +0200, Thodoris wrote:
>
> I'm testing on Windows XP SP2 with PHP 5.2.0
>

As far as I remember, you need to pass the "b" parameter to Windows as
well on fopen(), so you would do an fopen("/path/to/file","wb");

--Paul




--------------------------------------------------------------------------------


All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm




--------------------------------------------------------------------------------


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux