MY URL: http://localhost/test.php
I am using:
.htaccess:
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] PHP:
$url = $_GET['url']; echo var_dump($url); But all I get for $url is:NULL NULL NULL NULL NULL NULL