Making sure there isnt any php?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Howey
Forum Newbie
Posts: 17
Joined: Sun May 16, 2004 5:48 pm
Location: Middle of no where

Making sure there isnt any php?

Post by Howey »

Hello again its me again :lol: and I have another question for you masters of php. I have a site which allows users to have a description for their profiles, but im afraid that if some of the users know php they can easily manipulate some of functions on the site, is there anyway I can check to make sure they dont use php in their description or a way I could replace it?
Thank you in advance
Howey
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

[php_man]htmlentities[/php_man]($text, ENT_QUOTES);

Howey, turn off "Notify on response", read my sig for details.
Last edited by feyd on Tue Jun 22, 2004 3:28 pm, edited 1 time in total.
User avatar
Howey
Forum Newbie
Posts: 17
Joined: Sun May 16, 2004 5:48 pm
Location: Middle of no where

Post by Howey »

Ok thanks I will look into it right away :)
and alright done thanks again :-D
Post Reply