I have htaccess redirect 404's to notfound.php
In it, i echo $REDIRECT_URL, which according to the Apache manual and the PHP manual should echo the offending page. But it seems to turn up nothing.
I am using php3
my code is :
whya noa worka ?
mail("firstname.lastname@example.org", "404 error on site", "$REDIRECT_URL");
[Edited by James Smith on 08-29-2000 at 07:20 PM]
you never say what redirect_url is, the variable = 0 so it send you 0 and redirects you to the directory.
Also you might want it ot email you the site from where the person reached this site