Script URL:http://www.umbriainmoto.it/libroospiti/gbook.php?a=sign
Version of script:1.6
Hosting company:Aruba
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: image
Write your message below:
Sorry I have read other post but my english is very bad.
My problem is that when i go to write the guestbook I dont see image number, only if I reload the page can I see the image.
why i can't see the first time? buy only after relaod page?
Thanks.
I can see image number only after reload page
Probably problems with sessions. Upload phpinfo.php and session_test files to your server, you will find them here:
viewtopic.php?t=83
viewtopic.php?t=83
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Thanks Klemen for your help.
http://www.umbriainmoto.it/libroospiti/phpinfo.php
http://www.umbriainmoto.it/libroospiti/session_test.php
I have also set autosubmit=2, it work well, but when I write the number and I confirm, tell me error= number security wrong.
I can only set autosubmit =0
Thanks
http://www.umbriainmoto.it/libroospiti/phpinfo.php
http://www.umbriainmoto.it/libroospiti/session_test.php
I have also set autosubmit=2, it work well, but when I write the number and I confirm, tell me error= number security wrong.
I can only set autosubmit =0
Thanks
I have also tried
session_save_path('/web/htdocs/www.umbriainmoto.it/home/libroospiti/sessions');
ini_set('session.use_trans_sid',0);
in to gbook.php and print_sec_img.php and create folder sessions chmod 777
and
session_save_path('/web/htdocs/www.umbriainmoto.it/home/libroospiti/tmp'); in to gbook and print... and create folder tmp chmod 777
but not change.
session_save_path('/web/htdocs/www.umbriainmoto.it/home/libroospiti/sessions');
ini_set('session.use_trans_sid',0);
in to gbook.php and print_sec_img.php and create folder sessions chmod 777
and
session_save_path('/web/htdocs/www.umbriainmoto.it/home/libroospiti/tmp'); in to gbook and print... and create folder tmp chmod 777
but not change.
Seems like you were editing gbook.php, correct? I don't recommend doing that unless you know exactly how PHP sessions work. Your code is breaking the PHP session and if you delete this code from settings.php file you will probably see some error messages saying can't start session headers already sent on gbook.php line XY... Instead of editing gbook.php try posting your HTML code in header.txt and footer.txt as suggested many trimes here on this forum.
Code: Select all
ini_set('display_errors', 0);
ini_set('log_errors', 1);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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