Reply to fopen failed

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация