[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    Re: [PHP-WIN] File creation problem (HTTP wrapper does not support
From:       Stut <stuttle () gmail ! com>
Date:       2007-08-22 8:41:38
Message-ID: 46CBF6C2.3010809 () gmail ! com
[Download RAW message or body]

vikas batra wrote:
> i have to create a xml file with some content in it  in my site at one folder, when \
> i try to create file with fopen command then it says  that  "HTTP wrapper does not \
> support writeable connections. ",  bcs i gave there absolute path of file , then i \
> tried with relative path then it message me " failed to open stream Permission \
> denied in path of file", can any body give me the solution for this , how can i  \
> create a file in my site,

Show us code - we're not mind readers.

I would guess that in the first instance you tried to create a file in 
an http://... location which will not work for precisely the reason the 
error message gave.

In the second instance I would guess that the location of the file you 
are trying to create is not writeable by the user PHP is running as. 
What user that is depends on what web server you're using.

-Stut

-- 
http://stut.net/

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic