Parsing URLs
| From: | Ron Piggott | Date: | Tue, 28 Oct 2008 02:04:15 +0000 |
| Subject: | Parsing URLs | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-282525@lists.php.net to get a copy of this message | ||
I would like to parse the URLs in the values after the domain name.
The URLs are the results of mod re-write statements.
Example 1:
http://www.domain.com/page/file/
The desired results would be:
$web_page_access[1] = "file"
Example 2:
http://www.domain.com/page/file/2/
The desired results would be:
$web_page_access[1] = "file"
$web_page_access[2] = "2"
Any help please?
Ron