The Little Guy
10-21-2007, 06:43 PM
When I use this in my .htaccess file:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)$ index.php?user=$1 [nc]
and I echo out user like this:
echo $_GET['user'];
The following result is placed on the page:
index.php
here is dir structure:
+root
|
+-- album
| |
| +-- .htaccess
| |
| +-- index.php
|
+-- index.php.
I am trying to access the index.php page inside the album dir
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)$ index.php?user=$1 [nc]
and I echo out user like this:
echo $_GET['user'];
The following result is placed on the page:
index.php
here is dir structure:
+root
|
+-- album
| |
| +-- .htaccess
| |
| +-- index.php
|
+-- index.php.
I am trying to access the index.php page inside the album dir