Re: [PHP] URL variables, and the $_GET[xxx] function...

2004-10-21 Thread R'twick Niceorgaw
Hi Trisan, Quoting [EMAIL PROTECTED]: > I've put this code at teh top of the code on events page '$sort_by = > $_GET[sort_by];' etc... > And while that sorts out the problem, I'm curious as to why I need to do > that, and if those changes will cause me probs elsewhere? Perhaps on your old server

Re: [PHP] URL variables, and the $_GET[xxx] function...

2004-10-21 Thread Greg Donald
On Thu, 21 Oct 2004 14:08:28 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm moving hosts for a freelance site I do... > > They have an events section, and it's sortable by date, name and category > etc... > To achieve this, I passed the search/sort variables via the URL... > However, I'

Re: [PHP] URL Variables

2003-10-28 Thread Jed R. Brubaker
Thanks! "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote: > > Is there a way to preserve URL variables and have a link simply add > > a new variable to the end? > > Sure, just use $_SERVER['QUERY_STRING'], which is the c

Re: [PHP] URL Variables

2003-10-28 Thread Chris Shiflett
--- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote: > Is there a way to preserve URL variables and have a link simply add > a new variable to the end? Sure, just use $_SERVER['QUERY_STRING'], which is the current query string, and append whatever new URL variables you want. Chris = My Blog

RE: [PHP] URL Variables

2003-10-28 Thread Pablo Gosse
On Tuesday, October 28, 2003 8:57 AM Jed R. Brubaker wrote: > Is there a way to preserve URL variables and have a link simply add a new > variable to the end? > I am tabulating data and I have URL variables defining which dataset to > view and in what way to view it. I would now like to set the S

RE: [PHP] URL variables parsing error?

2003-09-18 Thread Jay Blanchard
[snip] and this is my index.php Output of this page is without expansion of my variables var1, var2 at section "echo" but phpinfo expand this: _GET["var1"]value1 _GET["var2"]value2 [/snip] This is not an error. Register globals is off (which is a Good Thing TM). var1 and var2 are in t

Re: [PHP] URL variables parsing error?

2003-09-18 Thread - Edwin -
Hi, [EMAIL PROTECTED] wrote: > Hi all, > > I use RedHat9.0 with Apache 2.0.40 & PHP 4.2.2 > and I have problem with parsing URL variables... > > I use this URL: http://my.domain.mine/index.php?var1=value1&var2=value2 > > and this is my index.php > >echo "var1: $var1" ; > echo "var2: $va

[PHP] Re: PHP url variables

2003-03-14 Thread Cranky Kong
Have a look at the parameter register_global in your php.ini By default in the recent version of PHP, this parameter is set by default to off for security reason. So if you want to use $id, you just have to set this parameter to on "Stephen" <[EMAIL PROTECTED]> a écrit dans le message de news: [E

[PHP] Re: PHP url variables

2003-03-13 Thread Ron Rudman
Try: parse_str( $_SERVER['QUERY_STRING']); "Stephen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I have just installed PHP 4 and Apache 2 but when I pass a variable in a url > eg ?id=1 > I can't get the variable value by $id, I have to use $_GET['id'] or > $_POST['id'] > >

RE: [PHP] URL variables

2001-10-24 Thread Martin Towell
try $QUERY_STRING -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 5:13 AM To: PHP General Subject: [PHP] URL variables How do I reference URL variables..? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAI

RE: [PHP] URL Variables

2001-05-22 Thread Chadwick, Russell
Variables as part of the url would not be encrypted, but you could send variables as POST to the secure document and then they would get encrypted - Russ --- Toolshed Computer Productions - Professional PHP Hosting Hosting - Dedicated Servers - Design - Programming http://www.toolshed5