> -----Original Message-----
> From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]]
> Sent: 25 February 2002 14:35
> Subject: [PHP] Problem about Reading input from a Form
> I set the register_globals On in the php.ini file but when i 
> do php.info it 
> shows that is off.

Did you restart PHP after changing php.ini?

>  About the better way, How i can manipulate 
> this variables, 
> can you give me an exable.

Simple: instead of $user and $address, use:

* in PHP 4.0: $HTTP_POST_VARS['user'] and $HTTP_POST_VARS['address']
* in PHP 4.1: $_POST['user'] and $_POST['address']

For more information, refer to 
http://www.php.net/manual/en/language.variables.external.php (which doesn't actually 
mention the $_* variables), and 
http://www.php.net/manual/en/language.variables.predefined.php (scroll waaay down 
until you reach the heading "PHP variables").



Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to