Thanks, forgot about that :) I'm a converted ASP programmer...ASP has no such ability. -Greg
"Rick Emery" <[EMAIL PROTECTED]> wrote in message 013b01c2d6a1$2a599d70$0500a8c0@honeybee">news:013b01c2d6a1$2a599d70$0500a8c0@honeybee... > can you use: include_once("filename"); > > This way, if it wasn't included, it will be. If it was included, this statement is ignored. > ----- Original Message ----- > From: "Greg" <[EMAIL PROTECTED]> > To: <> > Sent: Monday, February 17, 2003 10:18 AM > Subject: [PHP] check if a file has already be included > > > Is there any way to check if a file has been included / required already, > and if not include / require it? > Thanks! > -Greg > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php