Page 1 of 1

Badwods script printing to screen

Posted: Tue Jan 20, 2009 6:41 pm
by arlan_bear
Script URL:http://www.hofstads.com/guestbook/gbook.php
Version of script:GBook 1.6
Hosting company:DreamHost
URL of phpinfo.php:http://www.hofstads.com/guestbook/phpinfo.php
URL of session_test.php:http://www.hofstads.com/guestbook/session_test.php
What terms did you try when SEARCHING for a solution:badword, session

Write your message below:

Hello Klemen and Henrie,

Since I moved our website to a new host I have had a problem with the script of the badwords folder (en.php) printing to the screen after anyone writes a comment in the guestbook.
Any help would be appreciated.

Arlan

Posted: Wed Jan 21, 2009 12:23 am
by Henrie
Hello Arlan,

Am i correct you have viewed and maybe even tried to edit the en.php file (although i can see no words added)?
The program you used has added Rich Text Edit Controls to the file which broke the php functionality of the file (i guess you used Wordpad or Word).

Try uploading the original en.php file to your server and see if that solves the problem.

When you want to change the file, use a simple text editor like Notepad, or an editor with a little more functionality made for editing files like this (I myself use PSPad http://www.pspad.com/).

Greetings,
Henrie

Posted: Wed Jan 21, 2009 3:40 am
by arlan_bear
Thank you very much Henrie. You were exactly right. I was quite puzzled over it. Thank You for the great programming.

Posted: Wed Jan 21, 2009 6:40 am
by Henrie
Not my programming :)
All credits for that must go to Klemen.

I am just a happy users of some of his scripts, who in return for using these free scripts tries to do something in return (without buying a license for the script :wink: )

Greetings,
Henrie