Security code and smileys

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
hoser
Posts: 2
Joined: Mon Jul 12, 2010 10:03 pm

Security code and smileys

Post by hoser »

Script URL:www.margewally.com
Version of script:1.7
Hosting company:www.alwayswebhosting.com
URL of phpinfo.php:www.margewally.com/public_html/phpinfo.php
URL of session_test.php:www.margewally.com/public_html/session_test.php
What terms did you try when SEARCHING for a solution:Security code, smileys

Write your message below:
After reading numerous posts I am still unable to get the script to work properly using the text box security code feature. If I just use the logical question feature, I get a confirming email, approve the message and it post correctly. I have changed the following items: my host provider has session.auto_start on, so I added a php.ini file to public_html that turns it off.
I created a tmp folder in gbook/tmp and set permissions to 755. I added session_save_path('/home/margewal/public_html/gbook/tmp') to gbook.php and print_sec_img.php.
I deleted lines 61-73 in sign_form.php and the smileys are gone...I'm just wondering if there is another way to do this.
I have not integrated gbook into my website yet...as I'm still trying to get the textbox security feature working. http://www.margewally.com/gbook/gbook.php.
All attempts at enabling the text box security feature result in wrong security code.
If I don't enable this feature will my spam increase exponentially? I like the script and I would like to get this working so I can send you some cash for a few "Barley Sandwichs".
Thanks
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

1. smileys - this is an error in the template, will be fixed in the next version. Deleting those lines is the only way to make it work.

2. anti-spam code: it seems to be a problem with sessions although the session test works fine. You can try removing these two lines from the settings file and see if you get any other error messages:

Code: Select all

ini_set('display_errors', 0);
ini_set('log_errors', 1);
If not you can disable it provided you set up a unique logical question.
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
hoser
Posts: 2
Joined: Mon Jul 12, 2010 10:03 pm

Post by hoser »

I did not see any errors after deleting the lines you mentioned. I will just use the logical question option.
Thanks for the help...enjoy your Barley Sandwichs.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Thanks :wink:
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
Post Reply