![]() |
need some help on php problem?
hey i have been using an old script called ghost driver for a bunch of small fake tgp sites and have never had a problem with adding hosted galleries until today. Now everytime I try to import gallerys I get
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/home/buttster/domains/bigtitgirls.net/add.php on line 36 Warning: fsockopen(): unable to connect to http:80 in /usr/home/buttster/domains/bigtitgirls.net/add.php on line 36 http://bigmouthfuls.bangbros1.com/gal/273/p/buttster/ DNS - phatservers tech says its a dns problem not a mysql problem any help would be appreciated |
That is actually a bug that goes back to roughly 2001
http://bugs.php.net/bug.php?id=11058 The issue is that bigmouthfuls.bangbros1.com is a CNAME rather than an IN A pointer mcd@tsavo:~$ host bigmouthfuls.bangbros1.com bigmouthfuls.bangbros1.com CNAME bangbros1.com bangbros1.com A 66.230.182.98 Zend of course claims it is a bogus report, but, it happens all the way through 4.4.0 at least. What you might do is split the url with parse_url() and use gethostbyname() on the domain portion, then reassemble the URL using the IP -- however, you will want to send a Host: header with your request in case they are using virtual hosting and have multiple domains on that one IP. |
CD thanks for the reply I found the problem
Thanks for the help, but I found my mistake, all the urls I was importing had a space in front of the http of the url
by deleting the space it all works fine again |
All times are GMT -4. The time now is 11:20 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc