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'

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

2004-10-21 Thread Tristan . Pretty
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'm testing the new server, and those variables are not being detected? I've put this code a

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

[PHP] URL Variables

2003-10-28 Thread Jed R. Brubaker
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 SQL statement up with a limit and add some "Previous", "Next" commands

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] URL variables parsing error?

2003-09-18 Thread hiaer
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 Output of this page is without expansion of my variables var1, var2 at section "echo" but ph

[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'] > >

[PHP] PHP url variables

2003-03-13 Thread Stephen
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'] Is there a setting I need to change to allow me to use the $id? If there is it will save a lot of additional coding. Thanks,

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

[PHP] URL variables

2001-10-24 Thread Clint Tredway
How do I reference URL variables..? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] URL Variables

2001-05-22 Thread Chadwick, Russell
://www.toolshed51.com -Original Message- From: Michael Conley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 2:08 PM To: '[EMAIL PROTECTED]' Subject: [PHP] URL Variables First, I realize this isn't really a PHP question. If I include variables in a URL that I am passing to a

[PHP] URL Variables

2001-05-22 Thread Michael Conley
First, I realize this isn't really a PHP question. If I include variables in a URL that I am passing to a web server over HTTPS, is the URL (and hence, the variables) encrypted? example: https://www.yourdomain.com?firstname=michael&lastname=conley I need to make sure that the firstname and last