Jump to content


Passing PARMS in URL

  • Please log in to reply
1 reply to this topic

#1 usadarts

  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts
  • LocationLaurence Harbor, NJ

Posted 18 May 2006 - 01:01 AM

Is there a way to pass a range or >= or <= in the URL?

#2 AndyB

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

Posted 18 May 2006 - 01:47 AM

<a href='nextpage.php?min=this&max=that'>nextpage</a>
In nextpage.php retrieve the URL passed variable from the $_GET array and do whatever testing you want. Just remember that URLs can be modified by the user. Using 'hidden' values in a form method="post" is better is you don't want people messing around with your passed variables.
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