Guest HermanP Posted December 21, 2005 Share Posted December 21, 2005 Hello all,Is there a way too determine in ASP if an include file is already included?In php you can use something like:if (!defined("INCLUDE_FILE1"){ define("INCLUDE_FILE1",1) include the stuff}with kind regards,Herman Link to comment Share on other sites More sharing options...
Skemcin Posted December 21, 2005 Share Posted December 21, 2005 Hello all,Is there a way too determine in ASP if an include file is already included?In php you can use something like:if (!defined("INCLUDE_FILE1"){ define("INCLUDE_FILE1",1) include the stuff}with kind regards,Herman just put numbers throughout your code:1begin if2else if3else if4else5end if6and look for the numbers in your rendered page. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now