Re: Every not registered Var is generating an Error!
| From: | Chris Hewitt | Date: | Wed, 29 May 2002 15:02:12 +0000 |
| Subject: | Re: Every not registered Var is generating an Error! | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7147@lists.php.net to get a copy of this message | ||
Christoph,
Have you assigned them a value before using them in e.g. a comparison?
Was this working code on another computer that is not working on your Sun? If so then (particularly if it had a previous version of php) it my have required register_globals to be on, whereas by default in 4.2 it is off.
Hope this helps
Chris
Christoph PRantl wrote:
Hi folks! I got a really strange problem on my SUN Apache 1.3.12 and PHP 4.2.0 every not set Variable produces Errors like this! Notice: Use of undefined constant getuserstat - assumed 'getuserstat' in /var/apache/htdocs/forum/config.inc.php on line 181 Does anybody have an idea??? Cheers Christoph