freshbee Posted February 10, 2009 Share Posted February 10, 2009 Dear Friends, Is there any function to check whether the file is already included ? Thanks in Advance. Quote Link to comment Share on other sites More sharing options...
genericnumber1 Posted February 10, 2009 Share Posted February 10, 2009 get_included_files() http://us2.php.net/manual/en/function.get-included-files.php Of course, you could just use include_once() and it will include it only if it hasn't already been included. Quote Link to comment Share on other sites More sharing options...
freshbee Posted February 10, 2009 Author Share Posted February 10, 2009 Thanks a lot, Actually I had a issue with include_once so I want to use some other function. Thanks, get_included_files function will be useful to me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.