note 61332 deleted from function.include by aidan

From: Date: Sat, 15 Apr 2006 16:23:29 +0000
Subject: note 61332 deleted from function.include by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-108146@lists.php.net to get a copy of this message
Note Submitter: greatmagicalhat [at] gmail [dot] com ---- I just found something out the hard way, maybe I can make sure some others do not have to: when you use include/require(_once) to add a file that contains functions you want to use in the main document, you must make sure the file doesn't have the php extension This is because php contents are first evaluated and then included, once evaluated all of te scripts have disappeared

« previous php.notes (#108146) next »