file.php?var_value instead of file.php?variable=var_value
Posted: Wed Aug 04, 2004 6:38 am
Hi folks,
I've been noticing that some sites are using urls similar to this: http://www.somesite.com/[i]index.php?home[/i]
Does anybody know how I would go about implementing this? I've tried just using $_GET as a stand alone variable but that didn't work, I also tried using $_GET[0] in case it had assigned the value to the first element in the array but again no such luck.
If anybody can help me out it would be greatly appreciated.
Cheers,
Robert
I've been noticing that some sites are using urls similar to this: http://www.somesite.com/[i]index.php?home[/i]
Does anybody know how I would go about implementing this? I've tried just using $_GET as a stand alone variable but that didn't work, I also tried using $_GET[0] in case it had assigned the value to the first element in the array but again no such luck.
If anybody can help me out it would be greatly appreciated.
Cheers,
Robert