Re: [PHP] Global Variables Off

2002-11-05 Thread Martín Marqués
On Lun 04 Nov 2002 00:10, Paul wrote: > Ok, I have turned global vars off and I have replaced my old > $HTTP_GET_VARS with $_GET[] but I seem to not get the values passed. I > run the phpinfo and I see the variables being stored as > _GET["variable_name"] > > Is calling $_GET["variable_name"] corre

Re: [PHP] Global Variables Off

2002-11-03 Thread @ Edwin
Hello, "Paul" <[EMAIL PROTECTED]> wrote: > OK I guess I am closer = the variable is being passed as I tested but I > guess is failing on the test: > > if (isset($_GET["error_message"])) > What do you mean by "failing on the test"? What are you trying to accomplish, btw? How are you testing it? Al

Re: [PHP] Global Variables Off

2002-11-03 Thread rija
ROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 3:02 PM Subject: RE: [PHP] Global Variables Off > Makes no difference..I tried them both > > -Original Message- > From: John Nichel [mailto:jnichel@;by-tor.com] > Sent: Sunday, November 03, 2002

RE: [PHP] Global Variables Off

2002-11-03 Thread Paul
1:08 PM To: Paul Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Global Variables Off I assume you mean that the echo statement I gave as an example shows this: The test variable is [] Right? If so, that is truly odd, especially considering you are using 4.2.3. I don't have a good answer for that ...

Re: [PHP] Global Variables Off

2002-11-03 Thread Justin French
mailto:shiflett@;php.net] > Sent: Sunday, November 03, 2002 10:15 PM > To: Paul > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Global Variables Off > > You didn't really tell us how you're passing data or what is not > working. > > Try this. Create a tes

Re: [PHP] Global Variables Off

2002-11-03 Thread Chris Shiflett
assigned to _GET. With no change in code, I turn global variables 'on' and the same page works.. Paul PS using php 4.2.3 -Original Message- From: Chris Shiflett [mailto:shiflett@;php.net] Sent: Sunday, November 03, 2002 10:15 PM To: Paul Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

RE: [PHP] Global Variables Off

2002-11-03 Thread Paul
Makes no difference..I tried them both -Original Message- From: John Nichel [mailto:jnichel@;by-tor.com] Sent: Sunday, November 03, 2002 10:59 PM To: Paul Cc: 'Chris Shiflett'; [EMAIL PROTECTED] Subject: Re: [PHP] Global Variables Off Try single quotes... $_GET['test

Re: [PHP] Global Variables Off

2002-11-03 Thread John Nichel
urn global variables 'on' and the same page works.. Paul PS using php 4.2.3 -Original Message- From: Chris Shiflett [mailto:shiflett@;php.net] Sent: Sunday, November 03, 2002 10:15 PM To: Paul Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Global Variables Off You didn't really

RE: [PHP] Global Variables Off

2002-11-03 Thread Paul
Paul PS using php 4.2.3 -Original Message- From: Chris Shiflett [mailto:shiflett@;php.net] Sent: Sunday, November 03, 2002 10:15 PM To: Paul Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Global Variables Off You didn't really tell us how you're passing data or what is not working.

Re: [PHP] Global Variables Off

2002-11-03 Thread Chris Shiflett
You didn't really tell us how you're passing data or what is not working. Try this. Create a test script called test.php that looks like this: echo "The test variable is [" . $_GET["test"] . "]"; ?> Assuming this script is located at http://example.org/test.php, access this page using a URL li

[PHP] Global Variables Off

2002-11-03 Thread Paul
Ok, I have turned global vars off and I have replaced my old $HTTP_GET_VARS with $_GET[] but I seem to not get the values passed. I run the phpinfo and I see the variables being stored as _GET["variable_name"] Is calling $_GET["variable_name"] correct? If so, why would I not get the value? I use