Jump to content

Replacing '=' with '/' in URL's with Variables?


ChrisMartino

Recommended Posts

Hey there,

 

I've been looking around the internet for some guide to meet my requirements but I can't seem to find any suitable ones, I am in need of something that would apply the rule to every PHP file within my server, Although I can't seem to find one, Could somebody please spare the time to help me do this?, For example if I was to do this:

 

www.example.com/example.php?pid=7&car=9

 

It would work as this:

 

www.example.com/example.php/pid/7/car/9

 

Thanks for your help in advance :].

Link to comment
https://forums.phpfreaks.com/topic/203275-replacing-with-in-urls-with-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.