Re: Undefined variable

From: Date: Wed, 09 Oct 2002 13:02:03 +0000
Subject: Re: Undefined variable
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-119423@lists.php.net to get a copy of this message
Hi, Muhammad Khairuzzaman wrote:
Hi, thanks for the help! I worked, but i dont get it, why use $_POST['name'] or $_GET['name'] when the text from the internet and books I've read says just put a dollar sign before the variable's name.
from php version 4.?.x on register_globals is turned off by default in your php.ini so you can't use the posted variables (or the ones passed by url) by just putting a $ at the beginning of the variable name. cheers J

« previous php.general (#119423) next »