Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-01-16, 07:59 PM   #1
buttster
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
Join Date: Nov 2003
Location: Central California Valley
Posts: 181
Send a message via ICQ to buttster
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
buttster is offline   Reply With Quote
Old 2006-01-16, 11:10 PM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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
cd34 is offline   Reply With Quote
Old 2006-01-17, 12:24 AM   #3
buttster
Hey, can you take the wheel for a second, I have to scratch my self in two places at once
 
Join Date: Nov 2003
Location: Central California Valley
Posts: 181
Send a message via ICQ to buttster
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
buttster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:25 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc