Jump to content

include files


Guest HermanP

Recommended Posts

Guest HermanP

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...