I am getting the following error at the bottom of one of my forums (http://www.newcomputer.ca/forums/index.php) : Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\websites\newcomputer.ca\forums\ad_network.php on line 40 Warning: file_get_contents(http://ads.digitalpoint.com/network.php?b=www.newcomputer.ca&type=text&color=ffffff) [function.file-get-contents]: failed to open stream: No error in D:\websites\newcomputer.ca\forums\ad_network.php on line 40 PS: Sometimes I do see the ads, other times I do not :|
Are you saying that you see the ads on the bottom of my forum page just fine? I cannot validate: Ads not found on http://www.newcomputer.ca/forums/index.php/ Account not not yet activated. | Site failed automatic validation as of 2005-02-23 (make sure URL and site type is correct - if everything is correct, make a request in the forum for assistance). Validate/Calculate Weight Now
From my end, the name servers appear fine. I did however notice this when pasting the code into a browser: us82jsdd|400|900|4 It appears above the ad. Not sure if this is an issue.
Try running a simple PHP script of: <?php echo gethostbyname('ads.digitalpoint.com'); ?> PHP: It should output the numeric IP address if it works on your server. If it doesn't work then DNS resolution is not working on the server (at least not for PHP).
Interesting.... Parse error: syntax error, unexpected '<' in D:\websites\newcomputer.ca\forums\includes\page_tail.php on line 46 Could this be the version of PHP on the server or configuration?
Sorry for the problems Shawn. I basically just restarted from scratch, page by page. There must have been a coding issue. I have fixed it now (I believe). Sorry again...