[PHP] GET data in URL

2002-07-03 Thread Jay

I just installed php 4.2.1 and i have a couple of URL's that pass variables
through links (www.domain.com/index.php?test=123) and when I run that it
comes up on the next page and the test variable is empty?  I can't figure
this out but if I had to guess I would think it's some setting in the
php.ini?

Any thoughts?

Thanks!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] GET data in URL

2002-07-03 Thread Martin Clifford

PHP now comes with register_globals set to OFF by default, as far as I'm aware.  You 
can access the variables using $_POST['variable'] and $_GET['variable'], or turn 
register_globals back ON. :o)

Martin

 Jay [EMAIL PROTECTED] 07/03/02 03:46PM 
I just installed php 4.2.1 and i have a couple of URL's that pass variables
through links (www.domain.com/index.php?test=123) and when I run that it
comes up on the next page and the test variable is empty?  I can't figure
this out but if I had to guess I would think it's some setting in the
php.ini?

Any thoughts?

Thanks!


-- 
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




Re: [PHP] GET data in URL

2002-07-03 Thread Jay

Thanks! Turning on register_globals and restarting Apache solved the
problem!

Thanks!

- Original Message -
From: Martin Clifford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, July 03, 2002 2:46 PM
Subject: Re: [PHP] GET data in URL


PHP now comes with register_globals set to OFF by default, as far as I'm
aware.  You can access the variables using $_POST['variable'] and
$_GET['variable'], or turn register_globals back ON. :o)

Martin

 Jay [EMAIL PROTECTED] 07/03/02 03:46PM 
I just installed php 4.2.1 and i have a couple of URL's that pass variables
through links (www.domain.com/index.php?test=123) and when I run that it
comes up on the next page and the test variable is empty?  I can't figure
this out but if I had to guess I would think it's some setting in the
php.ini?

Any thoughts?

Thanks!


--
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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php