Forum Moderators: coopster
[webmasterworld.com...]
/claus
<edit>
ah, i see it wasn't perl anyway, that was what caught my eye, sorry. The includestuff might be relevant for php-includes as well, at least i hope so
</edit>
ie:
<?
if!defined( "__TEST_PHP_ALREADY_INCLUDED" ) {
define("__TEST_PHP_ALREADY_INCLUDED",1);
.
.
.
All your PHP
.
.
.
}
?>
Just make sure the id is unique. That way if you do include it twice your safe. Anyways now that I know of include_once that's the way I'm starting to go...