<?php $var_array = explode("/",$PATH_INFO);
echo $var_array[0];
?>
I'm trying to use the $PATH_INFO function to make search engine friendly URLs but it doesnt seem to be doing anything? echo'ing the 1st element of the array produces nothing. Any ideas?