I have Created a script and if i need to know which domain is using my script ehat should i do? ???
Please help me.
Hi there,
I’m not sure what exactly you are after but i think you may get the info you’re after by doing this:
[php]
echo “
”;”;
print_r($_SERVER);
echo “
[/php]
When you’ve found the value you are expecting, look at the key and you can use (for example):
[php]
echo $_SERVER[‘SERVER_NAME’];
[/php]
Let me know if that’s what you meant or not.