note 35636 deleted from ref.apache by tomsommer
| From: | tomsommer@php.net | Date: | Tue, 03 Aug 2004 16:45:39 +0000 |
| Subject: | note 35636 deleted from ref.apache by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73851@lists.php.net to get a copy of this message | ||
Note Submitter: realto619@hotmail.com
----
It looks like this thread hasn't had much activity since late last year, but I thought that I
would add my 2¢. I'm new to PHP, but I would think that this problem could be solved by
creating a 404 error page that contains the following code
<?php
If (strstr($HTTP_REFERER,".php/"))
{
$Go2URL = ereg_replace (".php/",".php", $HTTP_REFERER);
header("location $Go2URL") ;
}
?>
I didn't test it, but I'm pretty sure that or something similar would do the trick
Realto