me3ohm
January 19th, 2006, 07:30 PM
Hi,
I have seen a PHP script that uses a directory structure in the URL but actually runs a script and then passes the rest of the directory script as variables.
I can't remember how it was done and I really want to use this feature!
for example:
http://example.com/new/phone/BT would run new.php and pass phone and BT into the POST variable.
Any ideas?
Thanks
Matthew
I have seen a PHP script that uses a directory structure in the URL but actually runs a script and then passes the rest of the directory script as variables.
I can't remember how it was done and I really want to use this feature!
for example:
http://example.com/new/phone/BT would run new.php and pass phone and BT into the POST variable.
Any ideas?
Thanks
Matthew