Welcome Guest, Not a member yet? Register   Sign In
404 error question?
#1

[eluser]R_Nelson[/eluser]
is there a way to get the 404 error to display more info like maybe the URL it is trying to load?
#2

[eluser]John_Betong_002[/eluser]
[quote author="R_Nelson" date="1302342647"]is there a way to get the 404 error to display more info like maybe the URL it is trying to load?[/quote]

Try this in your 404 error page:
Code:
echo '<pre>';
print_r($_SERVER);
echo '</pre>';

// eg:
// echo $_SERVER['SERVER_NAME'];

This will give a lot of information, pick out what you want
#3

[eluser]R_Nelson[/eluser]
Thanks that helped me find my error. Someday i will learn to type lol!




Theme © iAndrew 2016 - Forum software by © MyBB