The error :
http://www.somesite.co m
Warning: fopen() [function.fopen]: php_network_get addresses: getaddrinfo failed: Name or service not known in /etc/etc/etc/etc/test.php on line 766
Warning: fopen(http://www.somesite.co m) [function.fopen]: failed to open stream: Success in /home/etc/etc/etc/etc/test.php on line 766
Unable to open file!
I cant actually figure out what the error is reffering to???
By the way the code of line 766 is:
My guess is that it reffering to not being able to open the address contain in the variable $nextPage.
Can someone please tell me if this is the actual error or if its reffering to something else.
http://www.somesite.co m
Warning: fopen() [function.fopen]: php_network_get addresses: getaddrinfo failed: Name or service not known in /etc/etc/etc/etc/test.php on line 766
Warning: fopen(http://www.somesite.co m) [function.fopen]: failed to open stream: Success in /home/etc/etc/etc/etc/test.php on line 766
Unable to open file!
I cant actually figure out what the error is reffering to???
By the way the code of line 766 is:
Code:
$file = fopen($nextPage, "r") or exit("Unable to open file!");
Can someone please tell me if this is the actual error or if its reffering to something else.
Comment