note 95977 deleted from function.parse-url by thiago
| From: | thiago@php.net | Date: | Mon, 01 Feb 2010 12:34:48 +0000 |
| Subject: | note 95977 deleted from function.parse-url by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165552@lists.php.net to get a copy of this message | ||
Note Submitter: Eric P
----
<?php
// This is an easiest way to get variable values out of a URL string.
$req_arr=array();
$req = explode('?',$_SERVER['REQUEST_URI']);
parse_str($req[1],$req_arr) ;
print_r($req_arr);
?>