Mike
03-25-2004, 09:21 AM
Hi all,
I've been using search engine friendly urls for a while now, but bumped into a problem. The variables from the URL just don't seen to be displaying, I think it's a problem with my host, but then again, other sites on my account are working fine.
I have this in one of my files:
$var_array = explode("/",$PATH_INFO);
$var = $var_array[2];
echo $var;
Say www.example.com/cat/1/ was my url. "1" should be echoed, shouldn't it?
It's not happening for some reason. I've added the few lines of code needed in .htaccess as well.
Please could someone help?
Thanks very much,
Mike
I've been using search engine friendly urls for a while now, but bumped into a problem. The variables from the URL just don't seen to be displaying, I think it's a problem with my host, but then again, other sites on my account are working fine.
I have this in one of my files:
$var_array = explode("/",$PATH_INFO);
$var = $var_array[2];
echo $var;
Say www.example.com/cat/1/ was my url. "1" should be echoed, shouldn't it?
It's not happening for some reason. I've added the few lines of code needed in .htaccess as well.
Please could someone help?
Thanks very much,
Mike