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 you've
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
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)
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:
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
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 *
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
[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
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 order to
9 matches
Mail list logo