Page 1 of 1

Please help newbee question

Posted: Sat Dec 14, 2002 6:34 pm
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