Variables in 'friendly' urls
| From: | William Bailey | Date: | Tue, 16 Jan 2001 10:44:54 +0000 |
| Subject: | Variables in 'friendly' urls | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34792@lists.php.net to get a copy of this message | ||
Hi,
Is there a way to pass variables as 'friendly' urls? So instead of
haveing a url like www.blah.co.uk/profile.php?team=tigers i could have
www.blah.co.uk/profile.php/team/tigers which would call profile.php and set
team to tigers.
I've been playing with it but i can't seem to get it to set the
variables. It will run the script (profile.php) but the variable $team if
still unset.
Thanks,
William.