Hi, In this tutorial I will tell you how to parse URL in PHP, Normally we are create an custom function to explode URL into different arrays.PHP have built in PHP function parse_url () to parse URL.
Below are simple example to parse URL
1 2 3
$nexUrl = 'https://graph.facebook.com/xxxxxx/feed?limit=400&until=1353532418'; $parseURL = parse_url($nexUrl); print_r($parseURL);
Latest posts by Parvez (see all)
- JPUT- Put Json data into HTML Template - December 22, 2014
- Bootstrap Data Table – Sorting, Pagination and Filtering Table - December 18, 2014
- textAssist – Smart Auto Text Assistant jQuery Plugin - December 15, 2014