$_SERVER['REQUEST_URI'] Not Working
Posted: Wed Jun 14, 2006 4:55 pm
I have a page where I am trying to grab the URL and explode it into arrays. But the $_SERVER['REQUEST_URI'] returns nothing. Here is my code:
What should I do?
Code: Select all
<?php
$req = $_SERVER['REQUEST_URI'];
echo $req;
?>