Jump to content


Photo

Query strings


  • Please log in to reply
1 reply to this topic

#1 GeorgeMoney

GeorgeMoney
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 25 August 2006 - 03:26 AM

how do you make it so the first slash after the php file is equeal to a parameter?

For example how would you make #1 equal to #2:

1: http://example.com/e...php?param=value

2: http://example.com/example.php/value

so the / is equal to ?param= . Would this require changing a configuration file on the server?
--GeorgeMoney

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 25 August 2006 - 04:36 AM

http://www.sitepoint...url-rewriting/2

mod_rewrite ... and some valium
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users