No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
In php we use the following code to block the url link passing via text boxes or textarea on form submit(For avoid bad link passing from contact us form ).Is there any methode like this in classic asp using vb. if($_POST['Register']) { $username=$_POST['username']; if (preg_match('~(?:[a-z0-9+.-]+://)?(?:\w+\.)+\w{2,6}\S*~i', $username)) { die('Access Denied Avoid … |
|
How can block url in asp? here i could only when the input is https://www.myopenid.com ie, when it starts with https://www.myopenid . But i want to block the input in the following cases 1) www.myopenid.com (here .com ,.in ,.org etc) 2) myopenid.com I give asp code below that i used: … |