February 8th, 2013, 03:56 PM
Strip out request string before posting
I have a form on my website that users fill out, and one of the forms is for a users website address. If someone types in Http://www.mywebsiteaddress.com, how do i strip out the "Http://" part before submitting it to my database?
February 8th, 2013, 04:30 PM
somewhere in the asp code that processes the form submission you could use a regular expression match or some other string manipulation code to remove the http part of a url
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton