Hello out there,
In .htaccess I have written:
ErrorDocument 404 http://www.domain.com/error.php
It works fine, but I want to know where the 404 site is.
Is it possible to write php-code in .htaccess like:
ErrorDocument 404 http://www.domain.com/error.php?site= <? $PHP_SELF ?>
Yah, ofcause it didnot work like I wrote, because when I wouldn't ask here at PHPBuilder.com.
But can I in error.php check what site there has called it?
I remember that MySQL have a variable there tells what site it is been called from. Am I right? What is the name of the variable?
Thank you, Ulrik Q K