Re: [in-phpug] variable values not echoing?
Yeah thats true the register_globals is Off coz of
security reason. What else if some one want to port
previous code into latest version of PHP, who dont
used the $_POST["variable"] pattern.
--- Dr Tarique Sani <tarique@...> wrote:
> On Tue, 20 May 2003, Bhupendra Banodhe wrote:===================================================================
> > Edit /etc/php.ini find out parameter
> > if it is Off then put in On and restart httpd, if
> > then definately it works.
> Before you do that be sure you are aware of what the
> security related
> implications of doing that are...
> PHP Applications for E-Biz: http://www.sanisoft.com===================================================================
> Indian PHP User Group:
> http://groups.yahoo.com/group/in-phpug _\_v
Visit My Web Site at :http://www.bhupi.20m.com
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
- On Wed, 21 May 2003, Bhupendra Banodhe wrote:
> Yeah thats true the register_globals is Off coz ofYou can use $HTTP_POST_VARS['variable'] or any of the code snippets
> security reason. What else if some one want to port
> previous code into latest version of PHP, who dont
> used the $_POST["variable"] pattern.
available to convert $HTTP_x into normal values BUT that is once again
exposing yourself to the security issues. The best option is to be sure
that your code cannot be affected by such attacks.
For the record I often program with register_globals off.
PHP Applications for E-Biz: http://www.sanisoft.com -o)
Indian PHP User Group: http://groups.yahoo.com/group/in-phpug _\_v