Posted by webbrain on 09/15/05 17:22
Hi ng,
i'm newbie at this ng.
i have an apache webserver Apache/2.0.50 (Linux/SUSE) with php 4.3.8
installed
in a php script i want to embed the following function:
<?php
$sent=fopen("http://www.thisurl.com","r");
?>
serverconfig:
safe_mode is not active
open_basedir is not active
allow_url_fopen is set TRUE
but do I always get the error:
fopen(http://www.thisurl.com): failed to open stream: HTTP request failed!
The code is correct, because we tried this on a server with older version of
apache and php
and it worked fine.
Can anybody help me or tell me if this is a known bug?
thanks a lot
Mario
Navigation:
[Reply to this message]
|