Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-05-2008, 06:01 PM
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default How do I validate a URL?

I'm using Zend_Filter_Input to validate some input, and one of the textboxes allows you to enter a URL in. I need to validate the URL to make sure it is in the proper Website.com format. In fact, it's supposed to point to an image, so I'm hoping I can override the validator (if one already exists) so it checks for a proper image url.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-06-2008, 06:29 AM
Junior Member
 
Join Date: Mar 2008
Posts: 11
Default

And what is proper image url?
image34534534534534
image.php?gen=23423423423
/image/7234273642734
image.jpg -> rewrite hack.pl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-11-2008, 04:16 PM
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default

I figured it out, thanks anyway.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:09 PM.