[Xitami] problems with xitami and refresh

xitami@lists.xitami.org xitami@lists.xitami.org
Thu, 20 Mar 2003 15:05:52 +0100


Hello with all
I am French (I use Altavista for the translation)

I use xitami with PHP on OS/2 and this does not go, explanations
Call of the page = http://126.99.218.150/refresh.php
The treatment is done, the refresh sends =
http://126.99.218.150/refresh.php?debut=1&fin=2
And, the refresh always sends the same thing =
http://126.99.218.150/refresh.php?debut=1&fin=2

<?
//-----------------------------
if ($debut==""){$debut=0;}else{$debut=$debut;}
if ($fin==""){$fin=1;}else{$fin=$fin;}
//-----------------------------
$debut_refresh = ($debut+1);
$fin_refresh = ($fin+1);

echo"<html>
    <head>
<meta http-equiv=\"refresh\" content=\"2;URL=refresh.php?debut
=$debut_refresh&fin=$fin_refresh\">
</head>
<body>
</body>
</html>";
?>

Do you have an explanation? This script functions on Apache with PHP on
Windows.