session_save_path

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Popparod
Posts: 6
Joined: Wed Apr 18, 2007 8:56 pm

session_save_path

Post by Popparod »

Script URL:http://www.wilmingtonwintergrass.org/gBook/gbook.php
Version of script:
Hosting company:FatCow
URL of phpinfo.php:http://www.wilmingtonwintergrass.org/gBook/phpinfo.php
URL of session_test.php:http://www.wilmingtonwintergrass.org/session_test.php

.....:session,session_save_path......

......With your help I got my gBook working on Our server,then my friend wanted the same thing on hers. I only seem to have trouble with "sessions"....and the "Security Text/Image"....

http://www.wilmingtonwintergrass.org/gBook/gd_test.php

Her server say's this..

..Add this to the beginning of the page,for whatever script your using....

"session_save_path("/home/users/web/<bucket>/<your_homedir>/cgi-bin/tmp");
session_start();

.....I got the correct path but I didn't know if I should post it....

....Thank You for your help in the Past....!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

You obviously have problems with sessions, try like your host advised, place

Code: Select all

session_save_path("/home/users/web/<bucket>/<your_homedir>/cgi-bin/tmp");
in gbook.php just before

Code: Select all

session_start();
, line 46.

Do the same in print_sec_img.php

That should take care of it, just make sure it's really the correct path (btw: it can be found in phpinfo file as well).

When testing don't forget to close ALL your browser windows.
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
Popparod
Posts: 6
Joined: Wed Apr 18, 2007 8:56 pm

session_save_path

Post by Popparod »

.....It Worked......!!!!

....Your a Life Saver....!!!!


...Thank You,Thank You,Thank You........!
Post Reply