Forum Moderators: coopster
which makes the constants availible throughout my website.
My problem is that sometimes the constants from my other domains seem to leek and i find for example: the contents of SITEURL for one site containing the contents which should be only present in another site.
I have fully checked my code for hardcoded paths or url's which might be causing this, but there are none.
Has anyone experianced a simular situation? and if so how did you solve it?
Also could anyone tell me if there is a method to print all the currently defined constants.
once again thank you for all your help
echo '<pre>';
print_r([url=http://us3.php.net/manual/en/function.get-defined-constants.php]get_defined_constants[/url]());
echo '</pre>';
Make sure you aren't defining the constants that you don't want.
good luck!