websmoken Posted June 5, 2007 Share Posted June 5, 2007 Is it possible to check text and set a PHP variable if someone inputs links, <h1></h1> ect. and other html tags when filling out your form mail or guestbooks? Thanks in advance Web Quote Link to comment https://forums.phpfreaks.com/topic/54341-detecting-urls-and-html-tags-in-text-input-from-form/ Share on other sites More sharing options...
per1os Posted June 5, 2007 Share Posted June 5, 2007 www.php.net/ereg www.php.net/strstr www.php.net/eregi www.php.net/preg_match I think one those will help you out. Quote Link to comment https://forums.phpfreaks.com/topic/54341-detecting-urls-and-html-tags-in-text-input-from-form/#findComment-268729 Share on other sites More sharing options...
websmoken Posted June 6, 2007 Author Share Posted June 6, 2007 Thanks frost, we b working on it. Quote Link to comment https://forums.phpfreaks.com/topic/54341-detecting-urls-and-html-tags-in-text-input-from-form/#findComment-269400 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.