PHP Development Board php divider

User Options
Register--Login--Top 20 Posters--Search Topics


Forum Main>>>>

New Topic-Reply




Author
Post
Chipmunk

Rank:Settler of Bobland
Group: Head Administrator
Posts: 2867
IP Logged
PM ID and RPS ID: 1
[PM Chipmunk]

View Member Photo

Posted at Mon Mar 05, 2007 12:22:55
Edit post|Quote
On addentry.php, you could probably use strip_tags before you insert the data into the database.
-----------------------------
Chipmunk,
Supreme Administrator

Chipmunk

Rank:Settler of Bobland
Group: Head Administrator
Posts: 2867
IP Logged
PM ID and RPS ID: 1
[PM Chipmunk]

View Member Photo

Posted at Tue Mar 06, 2007 11:29:57
Edit post|Quote
Just look at addentry.php , it should be pretty, the data entry is
Code:

INSERT INTO gbook

-----------------------------
Chipmunk,
Supreme Administrator

Chipmunk

Rank:Settler of Bobland
Group: Head Administrator
Posts: 2867
IP Logged
PM ID and RPS ID: 1
[PM Chipmunk]

View Member Photo

Posted at Wed Mar 07, 2007 13:55:23
Edit post|Quote
You need to use htmlentities() or strip_tags() on the text before that insert command. That will take care of the quote problem for you. My server setting are a bit different from yours so the quotes aren't a problem here.
-----------------------------
Chipmunk,
Supreme Administrator

Page: 1



Powered by © Chipmunk Board

Flash games Ninja games-Web Design New York