Edit

Template Coding PHP Fill array with server request URI strings

<?php

$request = explode( "/", $_SERVER["REQUEST_URI"] );
array_shift( $request );

print_r( $requests );

?>