GetDotted Domains

Viewing Thread:
"Write to txt file, Permission Denied :S"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sun 19/12/04 at 19:09
Regular
"Now suffer unto me"
Posts: 2
Trying to use a PHP script to open a text file to write to...

I get a 'permission denied' error.

The line that produces the error is:

fopen(($file), "w");

The file exists in my webspace. Does anyone know what I need to do to get permission to open it for writing to (it opens to be read from).

Thanks.
Mon 20/12/04 at 10:59
Regular
"Bicycle"
Posts: 4,899
Ya welcome.
Sun 19/12/04 at 22:14
Regular
"Now suffer unto me"
Posts: 2
Yup, sorted.

*feels foolish*

Thanks a lot.
Sun 19/12/04 at 21:21
Regular
"Bicycle"
Posts: 4,899
CHMOD it to 777.

If that doesn't work, well...
Sun 19/12/04 at 19:09
Regular
"Now suffer unto me"
Posts: 2
Trying to use a PHP script to open a text file to write to...

I get a 'permission denied' error.

The line that produces the error is:

fopen(($file), "w");

The file exists in my webspace. Does anyone know what I need to do to get permission to open it for writing to (it opens to be read from).

Thanks.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

First Class!
I feel that your service on this occasion was absolutely first class - a model of excellence. After this, I hope to stay with Freeola for a long time!
10/10
Over the years I've become very jaded after many bad experiences with customer services, you have bucked the trend. Polite and efficient from the Freeola team, well done to all involved.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.