php code help with directing based on url
Posted: Sun Mar 28, 2010 8:09 am
Hey guys - I'm a coldfusion programmer and need to know how to do something in php - I need control the code that is processed based on the url. For example something like:
www.mydomain.com/a
run this code
www.mydomain.com/b
run some other code
www.mydomain.com/c
run the last bit of code
www.mydomain.com/a
run this code
www.mydomain.com/b
run some other code
www.mydomain.com/c
run the last bit of code