URL Query

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
michaeru
Forum Commoner
Posts: 28
Joined: Sun Mar 07, 2010 5:22 pm

URL Query

Post by michaeru »

Good day,

I was fascinated by some sites having no URL Query. It looks clean and seems to be more secure.

Anyone have a source code or class for this:

URL query:
http://www.homepage.com/page.php?search=123

The site I saw uses something like this:
http://www.homepage.com/page/search/123

-Michaeru
mikosiko
Forum Regular
Posts: 757
Joined: Wed Jan 13, 2010 7:22 pm

Re: URL Query

Post by mikosiko »

under Apache that is provided by mod_rewrite .... basically you have to define a set of rules that provide the URL replacement in the way that you want

Miko
michaeru
Forum Commoner
Posts: 28
Joined: Sun Mar 07, 2010 5:22 pm

Re: URL Query

Post by michaeru »

Do you have a guide on doing this? And is it recommended?
mikosiko
Forum Regular
Posts: 757
Joined: Wed Jan 13, 2010 7:22 pm

Re: URL Query

Post by mikosiko »

michaeru
Forum Commoner
Posts: 28
Joined: Sun Mar 07, 2010 5:22 pm

Re: URL Query

Post by michaeru »

Thanks
Post Reply