RE: [PHP] file permissions on counter?

2002-04-24 Thread John Holmes
2002 8:44 PM > To: Antonio; [EMAIL PROTECTED] > Subject: Re: [PHP] file permissions on counter? > > Hi Antonio, > > try this for your fopen(): > $file=fopen("counter.txt","r+") > > Incase you're interested, here's the code I use w

Re: [PHP] file permissions on counter?

2002-04-23 Thread Tyler Longren
Hi Antonio, try this for your fopen(): $file=fopen("counter.txt","r+") Incase you're interested, here's the code I use whenever I need to use a simple text-file based counter: Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: "A

Re: [PHP] file permissions on counter?

2002-04-23 Thread Bogdan Stancescu
You should check the whole path and make sure Apache has enough rights to read through all directories. Bogdan Antonio wrote: > Hi, I have to read a simple counter on my server, but the server >responses that I haven't permissions to open the file which contains the >data in write mode. This f