note 36314 deleted from function.constant by nlopess

From: Date: Wed, 28 Dec 2005 17:22:16 +0000
Subject: note 36314 deleted from function.constant by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100873@lists.php.net to get a copy of this message
Note Submitter: mina86 at tlen dot pl ---- re PHPdotNET at 19-Oct-2002 08:02: it is better tu use (no warning is generated so you don't have to use '@'): <?php if (!defined("<file-id>")) { define("<file-id>", true); // script content } ?> or <?php if (defined("<file-ide">)) return; // script content ?> You could also consider using include_once() and/or require_once();

« previous php.notes (#100873) next »