apache 404 redirect and php
Posted: Tue Aug 06, 2002 2:17 am
My Apache 404 error page contains a php part (redirected with .htaccess)
The only output I wanna have is the url, that caused the error. My code only works with Mac IE 5, I don't understand it, I've always thought php was server side??
I'm using the rather old php version 3.0.16....
that's my error-file code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
echo("$HTTP_REFERER");
?>
</body>
</html>
any help
??
The only output I wanna have is the url, that caused the error. My code only works with Mac IE 5, I don't understand it, I've always thought php was server side??
I'm using the rather old php version 3.0.16....
that's my error-file code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
echo("$HTTP_REFERER");
?>
</body>
</html>
any help