I think your machine is blasted - Find out an exorcist or a witch or move out to other program-
----- Original Message ----- From: "Paul" <[EMAIL PROTECTED]> To: "'John Nichel'" <[EMAIL PROTECTED]> Cc: "'Chris Shiflett'" <[EMAIL PROTECTED]>; <[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 10:59 PM > To: Paul > Cc: 'Chris Shiflett'; [EMAIL PROTECTED] > Subject: Re: [PHP] Global Variables Off > > Try single quotes... > > $_GET['test'] > > Paul wrote: > > I am passing it via URL as: http://example.org/test.php?test=foo > > > > When I do that call to $_GET["test"] shows that variable is not set, > > however, when I run phpinfo() it shows value 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] Global Variables Off > > > > 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 "<p>The test variable is [" . $_GET["test"] . "]</p>"; > > ?> > > > > Assuming this script is located at http://example.org/test.php, access > > > this page using a URL like this: > > > > http://example.org/test.php?test=foo > > > > Chris > > > > 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"] correct? If so, why would I not get > >>the value? > >> > >>I use it in the following statement (checking if error_message is > > > > empty) > > > >>: > >>if ($_GET["error_message"]) > >> > > > > > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php