error_reporting(); There's also an entry on php.ini to handle. It is safe although I personally do not recommend. Undeclared variables are a unexpected script behavior, it's good to know where your data is coming from and/or not trust it. For example a GET paramenter might override the value you were expecting.
-- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Mark Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I am using php 4.1.2 and I have 2 questions. : > > 1) How do I compile PHP not to depend on declared variables? > 2) Assuming the above is possible, is this safe to do? > > Regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php