Quote:
Originally Posted by nohuhu
a bug found in these scripts: by default they don't modify http header your server gives out with the page so for any of these errors the header will contain 200 OK instead of corresponding error. found this accidentally while trying to find out why google doesn't want to authorize me for my website. 
this is easily enough fixed by adding the following line near the top of script:
Code:
header("HTTP/1.0 404 Not Found");
change 404 not found to corresponding error for each file. works for me, at least google stopped complaining. 
|
Can someone tell if this should be after
<?php or before?
Quote:
Originally Posted by TheInsaneManiac
I get a white page with the http errors on it...
|
Same here.