ok, I have been through and through http://www.phpbuilder.com/columns/tim20000526.php3?page=4 and still can't get this set up.
this is my .htaccess file:
<Files review>
ForceType application/x-httpd-php
</Files>
and the file 'review' in $DOCUMENT_ROOT is :
<?php
$url_array=explode("/",$REQUEST_URL); //BREAK UP THE URL PATH
$url_tb=$url_array[2]; //Which Country?
$url_cat=$url_array[3]; //Which State?
$url_ID=$url_array[4]; //Cities starting with a-g
if($url_tb AND $url_cat) {
require "./list.php";
}
elseif($url_tb AND $url_ID) {
require"./prod.php";
}
else {
Header( "Location: http://HOMEPAGEURL");
exit;
}
?>
YET I am still not able to replace the & ? in the URL with /'s?
variables passed from the index page are $tb and $cat to list.php and $tb $ID to prod.php FROM list.php.
what am I doing wrong? I can't find anything on $REQUEST_URL or $url_array, are these variables native to PHP or just the script on phpbuilder?
I am trying to make my site 'search friendly' since I pass variables via the URL.
any and ALL help is greatly appreciated.
TIA,
/frank