Page 1 of 1

SPAM not working

Posted: Wed Jan 04, 2006 6:32 pm
by ronel
Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

somebody pls help me. . .

if the $settings['autosubmit']=0 i can add my message on the gbook but if it is set to 1 it only re-generate new code and returns on the same page everytime i enter the 5 digit code. thanks. . .

God bless

by the way i'm already using the message board and it's really great!!! thanks a lot for sharing your script with us.

Posted: Wed Jan 04, 2006 7:36 pm
by Klemen
Hi,

This is not here for no reason:
Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:


Perhaps the problem is with sessions, try this script:
http://www.phpjunkyard.com/extras/session_test.zip

Also upload this and post a link here:
http://www.phpjunkyard.com/extras/phpinfo.zip

Regards

Posted: Thu Jan 05, 2006 2:27 am
by ronel
hi there

thanks for the reply.
by the way im a beginner in php. i dont uplaod my webpages i run my own apache web server and i register a free domain and redirect it to my computer. can you please help with this kind of senario. because i still cant fix the spam problem in gbook

thank a lot . . . and

God bless

Posted: Thu Jan 05, 2006 3:19 pm
by Klemen
Try downloading the files I linked to and see what results you get on your computer.

In the phpinfo.php file see if you can find "Session Support: Enabled"

Posted: Thu Jan 05, 2006 9:35 pm
by JanB
Hi
Maybe I can help?
I am using OpenBSD with chrooted apache.
The problem is that gbook.php tries to write the session file to the /tmp directory (witch does not exist by default in a chrooted environment)
I solved this by creating a tmp directory with full rights in the apache root directory.
Eks. mkdir /var/www/tmp and chmod 777 /var/www/tmp
This depends of course of the settings in php.ini session.save_path.
Maybe there are other ways to solve this, but it worked for me...
Please apology my English :oops: (I am from Norway)