[PHP] Re: register_globals and E_ALL error reporting

2002-03-13 Thread Julio Nobrega Trabalhando
DEFINE('DBF_HOST', 'localhost'); When PHP sees DBF_HOST without quotes it thinks it should be a constant. Even inside define()... just quote it, define still works. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.

[PHP] Re: register_globals and E_ALL error reporting

2002-03-13 Thread Peter Clarke
"Richard Ellerbrock" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > The following code generates a warning when register_globals=off and > error reporting is set to E_ALL. How do I define the constant in another > way not to generate a warning? This is with ph