Secruity Number Wrong and Won't Change

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
gibger
Posts: 2
Joined: Tue Oct 10, 2006 4:07 am

Secruity Number Wrong and Won't Change

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
gibger
Posts: 2
Joined: Tue Oct 10, 2006 4:07 am

Post by gibger »

Thanks heaps. it fixed the problem.
Cely
Post Reply