Jump to content


mod_rewrite() and form method="get"


2 replies to this topic

#1 Lang

    Young Padawan

  • Members
  • Pip
  • 198 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 25 September 2006 - 09:33 PM

Hey everyone,

So I got mod_rewrite() going and I have a search page. My form is using the GET method so all my variables are in the URL.

Is it possible to take the values and put it in the URL WITHOUT using a gateway page?
/search/1/2/4/5/6/7/8

Thanks,
Lang

Edited by Lang, 25 September 2006 - 09:35 PM.


#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 26 September 2006 - 12:09 AM

1. JS. Use the onSubmit event to load the page using the forms values.
2. No. A browser is a browser, JS is the only way to change what the browser does.

#3 Lang

    Young Padawan

  • Members
  • Pip
  • 198 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 26 September 2006 - 10:40 AM

Thanks for the help, rc.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users