Results 1 to 4 of 4

Thread: Validating if a URL is correct with php +/- ajax

  1. #1
    Join Date
    Dec 2008
    Location
    Nigeria
    Posts
    95
    Thanks
    3
    Thanked 8 Times in 8 Posts

    Default Validating if a URL is correct with php +/- ajax

    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):

  2. #2
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Simple but effective, can you make one to check emails?

  3. #3
    Join Date
    Dec 2008
    Location
    Nigeria
    Posts
    95
    Thanks
    3
    Thanked 8 Times in 8 Posts

    Default

    I have been getting the request to validate email for ages. I have not really looked into that aspect yet - that is somewhat tricky.

  4. #4
    Join Date
    Dec 2008
    Location
    Nigeria
    Posts
    95
    Thanks
    3
    Thanked 8 Times in 8 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •