Re: [PHP] Notice:Use of undefined constant

2005-01-24 Thread Jordi Canals
> > Wish List: PHP 6 uses E_ALL by default install. > I wish E_ALL | E_STRICT Regards, Jordi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Notice:Use of undefined constant

2005-01-24 Thread Richard Lynch
> PHP Notice: Use of undefined constant HOST - assumed 'HOST' in > /home/hegedus/bin/hae_chng.php on line 4 This *always* means you typed HOST where you needed 'HOST' or "HOST" Most PHP installations "hide" this "Notice" message from you by the default php.ini settings. Course, that also means

Re: [PHP] Notice:Use of undefined constant

2005-01-21 Thread Jason Wong
On Saturday 22 January 2005 08:28, Tamas Hegedus wrote: > define( HOST, 'localhost'); define('HOST', 'localhost'); -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development *

Re: [PHP] Notice:Use of undefined constant

2005-01-21 Thread Tamas Hegedus
In a file, which is included into all my scripts, I defined constants (for MySQL access). PHP claims these constants as undifined constants, however, if I let them print out they have the right values (HOST='localhost'; NOT: HOST='HOST'). Where do you print them out? In the file in which they're de

Re: [PHP] Notice:Use of undefined constant

2005-01-21 Thread Jason Wong
On Saturday 22 January 2005 06:20, Tamas Hegedus wrote: > In a file, which is included into all my scripts, I defined constants > (for MySQL access). PHP claims these constants as undifined constants, > however, if I let them print out they have the right values > (HOST='localhost'; NOT: HOST='HOS

[PHP] Notice:Use of undefined constant

2005-01-21 Thread Tamas Hegedus
Hi, On my system (Fedora 2) we (users) can use the following php: PHP 4.3.10 (cgi) (built: Dec 21 2004 09:18:25) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies According to our system administrator php works in safe mode. I do not know (think) i

Re: [PHP] notice:use of undefined constant: add-assumed 'add' in..........

2004-04-06 Thread John W. Holmes
From: "Andy B" <[EMAIL PROTECTED]> > i have something like this: > if(!empty($_SESSION['add']['start_date']) && !empty($_SESSION['add']['end_date'])..)){ > > and i get the unexpected error: > notice:use of undefined constant: add-assumed 'add' in (filename). Double check your code. In

RE: [PHP] notice:use of undefined constant: add-assumed 'add' in..........

2004-04-06 Thread Jay Blanchard
[snip] i have something like this: if(!empty($_SESSION['add']['start_date']) && !empty($_SESSION['add']['end_date'])..)){ and i get the unexpected error: notice:use of undefined constant: add-assumed 'add' in (filename). dont quite understand why that is since i used other code that i

[PHP] notice:use of undefined constant: add-assumed 'add' in..........

2004-04-06 Thread Andy B
i have something like this: if(!empty($_SESSION['add']['start_date']) && !empty($_SESSION['add']['end_date'])..)){ and i get the unexpected error: notice:use of undefined constant: add-assumed 'add' in (filename). dont quite understand why that is since i used other code that i have