There is a rewrite rule ensuring that all URL's head to index.php and maintain a 'pretty format'.
I still need to get information from them to work out what page to send the user.
Say there is a Url
http://localhost/telephones/nokia
I need to find out the SQL table ('telephone') and the make ('nokia')
How do I do that.
UPDATE
RewriteEngine on
RewriteRule ^/([^/]+)/([^/]+) /index.php?table=$1&make=$2 [NC]
(in .htaccess)
$table = $_GET['table']; $make = $_GET['make'];
$CONsiteurl = mysql_query("SELECT * FROM $table WHERE name = $make");
So we can bring up the page now by typing in http://localhost/?make=nokia&table=telephones but cannot get to it by typing in http://localhost/telephones/nokia
Why
.htaccessfile is actually being used? To make sure, just add aDeny from allclause to it and see if you get a 403.