Please help newbee question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amster
Forum Newbie
Posts: 1
Joined: Sat Dec 14, 2002 6:34 pm

Please help newbee question

Post by amster »

Hello,
im treing to use several scripts, which get data from external url ( like the Cnet news script)
When i execute this i get thefollowing output:

Warning: php_network_getaddresses: gethostbyname failed in d:\www\cgi-bin\cnet.php on line 6

Warning: fopen("http://www.cnet.com/frontdoor/0-1.html? ... ron.yhed.1", "r") - No error in d:\www\cgi-bin\cnet.php on line 6

Warning: fread(): supplied argument is not a valid File-Handle resource in d:\www\cgi-bin\cnet.php on line 7
Warning


I'm using windows 2000 and abyss webserver,
I installed php.exe (php4) and set it up the way its descrbed at the Abyss website and in the install.txt which came with the php package

.cgi is handled by perl.exe

could it be that there is something wrong in the FORCE_REDIRECT settings ??
If so what do i need to do.

All help is much apprisiated

regards,

Amster
Post Reply