note 35636 added to ref.apache

From: Date: Tue, 09 Sep 2003 10:25:49 +0000
Subject: note 35636 added to ref.apache
Groups: php.notes 
Request: Send a blank email to php-notes+get-55877@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/ref.apache.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35636 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35636&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35636&report=yes

« previous php.notes (#55877) next »