Index: [Article Count Order] [Thread]

Date:  Mon, 26 Jan 2009 11:26:01 -0500
From:  Matthew Komar <mkomar (at mark) serverrack.net>
Subject:  [coba-e:14874] Re: upgrade issue  php4.x to 5.x
To:  coba-e (at mark) bluequartz.org
Message-Id:  <497DE419.4060709 (at mark) serverrack.net>
In-Reply-To:  <8354738B5D7B4A8CB5ED082D252184D2@systemax>
References:  <8354738B5D7B4A8CB5ED082D252184D2@systemax>
X-Mail-Count: 14874

The first line gives it away.

Accessing 'http://' resources via include is disallowed.

Gerald Waugh wrote:
> We upgraded php4.x to 5.x 
> Now this issue. 
> See; 
>
> http://www.mezzocammin.com/iambic.php?vol=2008&iss=2&cat=emily&page=emil
> y
>
> relevant lines below. 
> 440 $fh = fopen("http://www.bartleby.com/113/".$pageNum.".html", 
> "r"); 
> 441 while (!feof($fh)) { 
> 442 $buffer = fgets($fh, 4096); 
> 443 $content .= " zzz " . $buffer; 
> 444 
> 445 } 
> 446 fclose($fh); 
> Any ideas why this might occur? 
> --
> Gerald
>
>