Re: Enquiry about PHP

From: Date: Thu, 06 Feb 2003 02:14:27 +0000
Subject: Re: Enquiry about PHP
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15519@lists.php.net to get a copy of this message
At 20.49 05/02/03 -0500, Leow Ellen wrote: >so can you please tell me how to solve problem whether i should use $_POST[....] or not to >retrieve data from client? have a look here: http://php.net/manual/en/configuration.directives.php#ini.register-globals http://php.en/manual/en/tutorial.oldcode.php basically: as of 4.1.0, PHP is installed with register_globals value turned off in php.ini, you have 2 options: 1) turn it on (and your old scripts will work as good as before) 2) change all calls to $variable_name do $_POST['variable_name'] I reccomend the latter, though. Ciao, Simone. -- Simone Cortesi http://cortesi.com/ blog * photos * PHP manual in italian Did I help you? Consider a gift: http://cortesi.com/wishlist.php

« previous php.mirrors (#15519) next »