Jump to content

block html from form submit


dropfaith

Recommended Posts

i already have something like this on the server side with php

 

but im trying to make it so a user cant enter things like "> as a name as it messes up  my link format to get to profiles..

 

any html does this so i would love to block out all html and only allow names to be letter number combinations

Link to comment
https://forums.phpfreaks.com/topic/128050-block-html-from-form-submit/
Share on other sites

any ideas on where i can find a good tutorial for this?

 

Google's full of them :) (client side and server side)

 

php freaks has a board for regex help.

 

This php snippet -> http://www.phpbuilder.com/board/showthread.php?t=10314920 probably answers your original quest

Archived

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

×
×
  • Create New...

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.