|
|
|
|
|
|
![]() |
#1 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
|
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
__________________
The Tit Directory |
![]() |
![]() |
![]() |
#2 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
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.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#3 |
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
|
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
__________________
The Tit Directory |
![]() |
![]() |
![]() |
|
|