View Full Version : Validating if a URL is correct with php +/- ajax

12-31-2008, 03:57 PM
1) CODE TITLE: URL Validator

2) AUTHOR NAME/NOTES: Tony Ogundipe

3) DESCRIPTION: This features a few lines of php code to perform complete validation of a url.

4) URL TO CODE: http://ds.mwebng.net/dd/validator.html

or, ATTACHED BELOW (see #3 in guidelines below):

01-10-2009, 07:43 PM
Simple but effective, can you make one to check emails? :D

01-11-2009, 04:19 PM
I have been getting the request to validate email for ages. I have not really looked into that aspect yet - that is somewhat tricky.

01-11-2009, 05:12 PM
I made a little update on it - fixed the post/get bug that prevents it from working fine on mozilla browsers. This just involve the HTML rather than the PHP file.