NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: A good PCRE expression for matching URLs

Michael B Allen ioplex at gmail.com
Thu Jul 24 16:34:56 EDT 2008


On Thu, Jul 24, 2008 at 3:25 PM, -- rada -- <radalapsker at yahoo.com> wrote:
> Michael
>
> Check out Zend's URI validation. It uses permissible characters rather than
> excluded characters.
>
> http://framework.zend.com/manual/en/zend.uri.html#zend.uri.chapter
>
> (you'll want to take a look at /Uri/Http.php)

Hi Rada,

Zend_Uri_Http is using regrex to capture each component separately and
is quite complicated about how it builds the regex so I don't think
it's going to help me.

Thanks,
Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/



More information about the talk mailing list