Jump to content

Archived

This topic is now archived and is closed to further replies.

adisonz

Help on PHP pettern matching pattern detecting HTML tags.

Recommended Posts

My forms include <textarea> to allow members to key in their address but one thing they can key in HTML tags to change settings.

how do i detect those HTML tags but address should have magical quotes so that how can i fulfill both side ?

Share this post


Link to post
Share on other sites
strip_tags + MySQL's real_escape_string.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.