Ok, I have a issue with my Webserver, when I try using
<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" ?>
It turns up the file it's self: Eg. blah.com/404.php
Also how would I do this with a 403 page? I know its possible and I've tried
$_SERVER['HTTP_REFERER']
but noting turns up, or sometimes it's just a zero. This is my first time with a 404, what am I doing wrong?