Ask a Question related to PHP Development, Design and Development.
-
BB #1
write/create new file using IIS, XP Pro
Hey all,
This is driving me nuts. Works great with apache on same xp pro box, but I
can't get it to work on IIS
$handle = fopen("file.txt", "wb");
In IIS admin I gave write rights to the whole folder. I tried full path
name (c:\\inetpub\\wwwroot\file.txt)
any ideas?
In explorer, the folder is shown as read only. I take that off, apply, and
reopen the properties again and it's back to read only. Could that be it?
how do I change that?
here's the error message
Warning: fopen(file.txt) [function.fopen]: failed to create stream:
Permission denied in c:\inetpub\wwwroot\bookmarks\testwrite.php on line 27
thanks in advance,
brian
BB Guest
-
Error 1 : Can't create/write to file
I'm really not able to resolve this. I have a SELECT...INTO OUTFILE query If I execute it I receive: Error 1 : Can't create/write to file... -
write value from flash file to an external file
how can I write value from flash file to an external file like (text file or xml file) -
advice needed... cf write data to xml file for use in flash app thatuses xml file
I'm wondering if it is possible to use CF to: 1) connect to existing db; 2) get specific data from table; 3) write it to an xml file that would... -
Read/write Excel and create pdf??
Alright, how about a way to read and write to the Excell files?? Will MasterApp do this?? -
log file sync vs. log file parallel write ?
On 11 Dec 2002 14:48:41 -0800, bchorng@yahoo.com (Bass Chorng) wrote: The writes requested by a log file sync are evidently processed by... -
Rich Manley-Reeve #2
Re: write/create new file using IIS, XP Pro
In article <Z7-dnWpX59kKgAaiRVn-uA@comcast.com>, BB <dragonb@spam.com>
wrote:
Have you set NT permissions on the file to allow IUSR_*yourservername*> Hey all,
> This is driving me nuts. Works great with apache on same xp pro box, but I
> can't get it to work on IIS
>
> $handle = fopen("file.txt", "wb");
>
> In IIS admin I gave write rights to the whole folder. I tried full path
> name (c:\\inetpub\\wwwroot\file.txt)
> any ideas?
> In explorer, the folder is shown as read only. I take that off, apply, and
> reopen the properties again and it's back to read only. Could that be it?
> how do I change that?
>
> here's the error message
>
> Warning: fopen(file.txt) [function.fopen]: failed to create stream:
> Permission denied in c:\inetpub\wwwroot\bookmarks\testwrite.php on line 27
>
> thanks in advance,
> brian
>
>
full access?
Right-click the file, select properties -> security, if the IUSR_ is
not there then add it & give complete control
--
Richard Manley-Reeve
Web & Multimedia Developer
Gateshead College, Tyne & Wear
(edit my email address before replying)
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
[url]http://www.newsfeed.com[/url] The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Rich Manley-Reeve Guest
-
BB #3
Re: write/create new file using IIS, XP Pro
Thanks so much, that was it!
"Rich Manley-Reeve" <MY_FIRSTNAME.manley-reeve@gateshead.ac.uk> wrote in
message news:271020031924504403%MY_FIRSTNAME.manley-reeve@gateshead.ac.uk...but I> In article <Z7-dnWpX59kKgAaiRVn-uA@comcast.com>, BB <dragonb@spam.com>
> wrote:
>> > Hey all,
> > This is driving me nuts. Works great with apache on same xp pro box,and> > can't get it to work on IIS
> >
> > $handle = fopen("file.txt", "wb");
> >
> > In IIS admin I gave write rights to the whole folder. I tried full path
> > name (c:\\inetpub\\wwwroot\file.txt)
> > any ideas?
> > In explorer, the folder is shown as read only. I take that off, apply,it?> > reopen the properties again and it's back to read only. Could that be27> > how do I change that?
> >
> > here's the error message
> >
> > Warning: fopen(file.txt) [function.fopen]: failed to create stream:
> > Permission denied in c:\inetpub\wwwroot\bookmarks\testwrite.php on lineNews==----> Have you set NT permissions on the file to allow IUSR_*yourservername*> >
> > thanks in advance,
> > brian
> >
> >
> full access?
> Right-click the file, select properties -> security, if the IUSR_ is
> not there then add it & give complete control
>
> --
> Richard Manley-Reeve
> Web & Multimedia Developer
> Gateshead College, Tyne & Wear
>
> (edit my email address before replying)
>
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure UsenetNewsgroups> [url]http://www.newsfeed.com[/url] The #1 Newsgroup Service in the World! >100,000=---> ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
BB Guest
-
sakhdad #4
Re: write/create new file using IIS, XP Pro
Thank you very much. It's a little tip & great help for beginners.
sakhdad Guest



Reply With Quote

