Enabling HTML For Admin. Replies

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
newguy
Posts: 15
Joined: Mon Sep 28, 2009 2:49 pm

Enabling HTML For Admin. Replies

Post by newguy »

Script URL:
Version of script: 1.7
Hosting company: HostGator
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Enabling html for admin replies

Write your message below:
Can you please explain to us how to enable HTML for admin. replies?
Thank you
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

It can not be done for only admin replys. The same function is used for the normal messages.

To change it , edit gbook.php file.
Remove

Code: Select all

        $in = htmlspecialchars($in);
or comment it out by changing it to

Code: Select all

//        $in = htmlspecialchars($in);
But it is not advised to change it.
I am not entirely sure, but i think it might be used to insert bad code.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply