can't read page itself
Edho P Arief
edhoprima at gmail.com
Mon Sep 7 09:36:09 MSD 2009
On Mon, Sep 7, 2009 at 10:48 AM, afen<nginx-forum at nginx.us> wrote:
> I try not into recursion
> test.php
> <?
> $id=$_GET['id'];
> if ($id==1){
> echo"1";
> }else{
> $html=@file_get_contents("http://localhost/test.php?id=1";);
> }
> ?>
>
> still error
>
it works here.
<?php
$id=$_GET['id'];
if ($id==1){
echo"1";
}else{
$html=@file_get_contents("http://localhost/test.php?id=1");
echo $html;
}
?>
returns 1 no matter what the id is.
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the nginx
mailing list