Page 1 of 1

need serious help

Posted: Wed Sep 28, 2005 7:58 am
by nullpunkt
i need some serious help... I have set up Apache 2.0 and PHP 4.0.0 on my windows... It all works fine except one thing... It won't let me write to any files... I have a guestbook and when I try to write a message I get alot of error messages... do i need to enable any extentions or something? because I've allready enabled every extention in the php.ini file and it still won't work

The errors that's repeating is:
Warning: fopen(messages.txt): failed to open stream: Permission denied in /hsphere/local/home/apbclan/
Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/apbclan/

another wierd thing is that I've also changed the location for the guestbook so it should refere to my computer, but as you can see it don't...

Posted: Thu Sep 29, 2005 1:44 am
by gesf
Serious help or... help for a serious problem ? Just joking :D
Change permissions (Chmod) of your 'messages.txt' file!

Posted: Thu Sep 29, 2005 7:43 am
by nullpunkt
how can i do that when it's on my computer? log on with an ftp program? because that's the only way i know....

Posted: Thu Sep 29, 2005 8:16 am
by nullpunkt
I've posted a gb script that's not working on my local computer, but it worked fine at a host... please, if you have the time, take a look at it...