Page 1 of 1

Secruity Number Wrong and Won't Change

Posted: Wed Jan 03, 2007 9:36 am
by gibger
Script URL: http://www.juliesjewels.com.au/guestbook/gbook.php
Version of script:1.43
Hosting company:Smarty Host
URL of phpinfo.php:http://www.juliesjewels.com.au/phpinfo.php
URL of session_test.php:http://www.juliesjewels.com.au/session_test.php
What terms did you try when SEARCHING for a solution:
security number
Write your message below:
I have this gbook on my own sites. I've just created a site for a friend and when I test the gbook by filling in the required info, putting in security number and clicking add my comments. I get the message "wrong security number'. So I try again ans still wrong number. But I discovered that the number doesn't change.

The gbook on my sites work ok.

Thanks.

Posted: Wed Jan 03, 2007 1:24 pm
by Klemen
Hi,

Try changing line 43 in gbook.php from

Code: Select all

session_start(); 
to

Code: Select all

session_name('GBOOK'); session_start();
Do the same in file print_sec_img.php on line 2.

Make sure you close all browser windows and delete temporary Internet files before testing.

Let me know if that helps.

Posted: Thu Jan 04, 2007 11:51 am
by gibger
Thanks heaps. it fixed the problem.
Cely