ID:               35146
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kingva at jy-trading dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: FreeBSD
 PHP Version:      Irrelevant
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

The bug system is not the place to answer user questions. Please use
the appropriate
support options (mailinglists etc.)

Friedhelm


Previous Comments:
------------------------------------------------------------------------

[2005-11-08 02:41:16] kingva at jy-trading dot com

Description:
------------
I made file .htaccess in the default directory,include following
content:

ErrorDocument 404 /404.php

also I made a file:404.php,



Reproduce code:
---------------
404.php:
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1"> 
<title>title</title>
</head>
 <?php 
$url=getenv("REQUEST_URI");
$pos = strpos($url, '/');
$url = substr($url, $pos+1);
$suggestedurl=DoRedirect($url);
?>
<script language="JavaScript">
window.top.location="<?php print($suggestedurl);?>";
</script>

Expected result:
----------------
If the URL is not exist, We will get another url.





Actual result:
--------------
sometimes working well, sometimes not in the IE, But in the Firefox, it
always working well. but on my local computer, it always working well.

the actual address: www.winmag.nl

you can test : www.winmag.nl/1265

you should get the article 1265, but sometimes not, maybe you get "The
page cannot be found", if you refresh in the IE. Maybe you get the
article.

I dont know what's the reason, Can you help me?


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35146&edit=1

Reply via email to