Forum Moderators: coopster

Message Too Old, No Replies

File permissions in Windows XP Home Edition

         

froggen

8:25 am on Jun 2, 2003 (gmt 0)

10+ Year Member



Hi,
I am new newbie to PHP/Apache/MySQL and I try to work through a book. When I came to an exercise were a file should be created to store some data, I get the error message that permission is denied.

Obviously some permissions needs to be set.

How do I do this in Windows XP home edition?

I have not been able to find anything by looking in forums on different sites.

Thanks Roger

jatar_k

3:20 pm on Jun 2, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld froggen,

You are getting the error, I assume, from the line where it is trying to write. Have you tried right clicking on the directory and looking through the properties? I have pro here so it isn't quite the same.

ncsuk

3:28 pm on Jun 2, 2003 (gmt 0)

10+ Year Member



What type of file are we talking about here? And where are you trying to store it?

froggen

1:20 am on Jun 4, 2003 (gmt 0)

10+ Year Member



Hi guys,
I use this:

$fp = fopen("$DOCUMENT_ROOT/../orders/orders.txt", 'a');

and I get permission denied.

The directory orders is under htdocs in the Apache directory.

And I cannot find the permission properties.

Ciao Roger