note 89579 deleted from function.parse-url by danbrown
| From: | danbrown@php.net | Date: | Sat, 14 Mar 2009 21:15:34 +0000 |
| Subject: | note 89579 deleted from function.parse-url by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151952@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
The analog of parse_url() function
if( ( $pregs = preg_match_all( "/^(\w+)\:\/\/(\w+)\:*(\w*)\@(\w+)\:*(\w*)\/(\w+)$/",
$adress, $array ) ) !== 0 ) {
// code
}