|
Posted by Swincher on 11/14/05 18:28
Hello - --
I am a realtive newbie to PHP, though I have been a custom application
designer for many, many years, now moving some of my business to PHP.
I am doing a little experiment: I am taking a HTML file, and updating
it by adding some HTML text to it. I am using file_get_contents() and
either str_replace() or preg_replace() (not sure yet of the
difference) to do the work. that isn't the problem at the moment,
though.
I was getting some weird errors, so I did a little experiment (right
out of the sample code on the PHP site) to append some text to an
ascii file using low-level functions (fopen() fwrite() etc.).
I get this error:
-------------------------------------------
Warning: fopen(test.txt) [function.fopen]: failed to open stream:
Permission denied in h:\Inetpub\wwwroot\KOFamily\koaddcomm.php...
-------------------------------------------
So it looks like I have a "rights" problem first. The system I am
playing with is a W2K server with IIS 5.0.2195.6620. I can ortherwise
execute PHP code without problem.
Am I right that this is a "rights" problem? Would anybody please
direct me to a resource to help me solve this?
many thanks - -- -
Ken (Swincher)
Navigation:
[Reply to this message]
|