url test
Moderator: General Moderators
I used the search! I could not find it!!hawleyjr wrote:search.php?mode=results
I tried searching php.net and found that dns_check_record() and checkdnsrr() don't work on my system... and those were the closest to a solution I Could find.
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
Or you could have spent less time pointing him in the right direction.
gethostbyname($url)
If it returns an IP address then it has a valid DNS entry out there. If it returns the URL instead of the IP then it doesn't have a valid DNS that can be found.
gethostbyname($url)
If it returns an IP address then it has a valid DNS entry out there. If it returns the URL instead of the IP then it doesn't have a valid DNS that can be found.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Were here to promote learning, not give you the answers. Thats like going to class and simply given the answer, not the methods of doing it. Simply typing in one search string and not getting answers is most often not sufficient, but by spending a little time researching rather than always relying on direct answers pays off.The Ninja Space Goat wrote:thank you panama jack for just telling me... I could have done this yesterday if hawkley would have done that. I appreciate it.
Could have not said it better myself.Jcart wrote:Were here to promote learning, not give you the answers. Thats like going to class and simply given the answer, not the methods of doing it. Simply typing in one search string and not getting answers is most often not sufficient, but by spending a little time researching rather than always relying on direct answers pays off.The Ninja Space Goat wrote:thank you panama jack for just telling me... I could have done this yesterday if hawkley would have done that. I appreciate it.
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
You need to do both but if you KNOW the answer and post a response like "Use the search" and you are a MODERATOR then you come off as being well... an ass. Kind of like the school yard bully playing keepaway from the new kid.Jcart wrote:Were here to promote learning, not give you the answers. Thats like going to class and simply given the answer, not the methods of doing it. Simply typing in one search string and not getting answers is most often not sufficient, but by spending a little time researching rather than always relying on direct answers pays off.The Ninja Space Goat wrote:thank you panama jack for just telling me... I could have done this yesterday if hawkley would have done that. I appreciate it.
I would think that moderators would be more helpful.
hawleyjr posted 3 messages with each one denigrating the person asking for help. He would have spent LESS time actually helping the person instead of trying to make him look bad. Every time I see some know-it-all post a "Search the forums" reply instead of actually HELPING the poor person I want to smack them upside the head.
I thought these forums were about helping each other and not about attitude. All The Ninja Space Goat got from hawleyjr was attitude and no real help. Plus the link hawleyjr posted in his final putdown message didn't even answer the guys original question.
I knew it because I have used that function before and use it with the Sever List page for my games website as one of the things used to verify that the information is coming from a valid website.
One post with the information would have been far better than three that would cause the person asking the question to wonder if using the site was worth the effort. Especially when the three non-helpful, semi-putdown replies came from a moderator.
Please be more respectful of the people who come here as they are what make the site.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
I don't get it. By spending more than 30 seconds searching, the answer was jumping out on multiple locations. What is the point on simply giving the answer? What does that give the user -- depency of other people. What is other people do not know, do you simply give up?
By using key words of the OP in his post "url resolve" I found several discussions in this immediatly.
The next message answere exactly what the user needed, as well as several alternative methods, as well as more key words and a jump in the right direction of what is typically involved.
I stand by my decision.
By using key words of the OP in his post "url resolve" I found several discussions in this immediatly.
The first link posted by hawleyjr was the results of a search, unfortunantly the post data was not sent along. search.php?mode=results dictates that ea search was made, unknowingly did hawleyjr know the search results would not be shown, just the search page. Just a simple mistake, move on.hawleyjr posted 3 messages with each one denigrating the person asking for help.
The next message answere exactly what the user needed, as well as several alternative methods, as well as more key words and a jump in the right direction of what is typically involved.
I, or any member of this community do not take kindly to personal attacks. Watch what you say. If you have a problem with I or another member contact any moderator via PM, not in public.and you are a MODERATOR then you come off as being well... an ass. Kind of like the school yard bully playing keepaway from the new kid.
I stand by my decision.
We have very clear guidelines in place:
Thread locked.
source: viewtopic.php?t=8815 entitled: "Before Post Read: General Posting Guidelines"twigletmac wrote:
- Try a search first - Google, the PHP manual, the MySQL manual, Phuse and this forum are all good resources.
Thread locked.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
I have to say...we use forum software like phpBB because that means we can archive threads/problems and store them/search them.
I'm not saying the OP did not try this but I'm just pointing out that it often work to do a seach.
Side note: For the most flexibility in networking issues such as this fsockopen() often is the answer.....
I'm not saying the OP did not try this but I'm just pointing out that it often work to do a seach.
Side note: For the most flexibility in networking issues such as this fsockopen() often is the answer.....