[PHP] help! handling form variable
add the $_POST, $_GET after the register_globals in php.ini ? how do i restart php service to get it running? thanks ! Manual: Register globals. $_POST, $_GET On Tuesday 30 March 2004 09:40, Ketvin wrote: Dear all, i just move my previous php script to a new server and found that it is not working on the new machine. funny thing is that previously, say i am putting form items like input type=text name=item1
Re: [PHP] help! handling form variable
If you DO NOT register globals (in php.ini) you MUST use $_POST[post_var] or $_GET[get_var] to access those variables... If you DO resgister globals you can also use $post_var or $get_var. By default, register globals is set to Off for security reasons; so you'll need to set it On. The line must say: register_globals = On ; Whether or not to register the EGPCS variables as global Hope it helps!!! -- Miguel J. Jiménez ISOTROL, S.A. (Área de Internet) Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA) [EMAIL PROTECTED] TLFNO. 955036800 ext. 111 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php