Re: permission failure with fopen

From: Date: Fri, 07 Nov 2008 13:46:21 +0000
Subject: Re: permission failure with fopen
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-283071@lists.php.net to get a copy of this message
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@uwc.ac.za> To: <tgol@kinetix.gr> Cc: <php-general@lists.php.net> Sent: Friday, November 07, 2008 2:35 PM Subject: Re: [PHP] 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


« previous php.general (#283071) next »