View Full Version : Advice on my first PHP script. (PHP)
Lapras
March 17th, 2005, 08:32
Hi everyone,
I just started out learning PHP. I have a script idea and anyway, I have a question to ask. My script (which when I'm done with I will announce) has a function where it can resolve a domain name IP. At least, that's what I want it to do. How can I set my script up so it can get an IP address associated with a domain name?
-Pardon my lack of expertise in this area if my question you find to be a strange one, anyway, if I'm successfull it will be a remarkable maybe even famous script, though it will take me a while to build.
-Thanks for hearing me out, Lapras.
bloodyveins
March 19th, 2005, 22:28
simple solution, php functions: gethostbyaddr and gethostbyname.
real solution: dns resolver (som reference, phpclasses.org)
regards,
forumdirectory
April 1st, 2005, 13:21
i highly doubt remarkable and famous, your living in a dreamworld
Lapras
April 14th, 2005, 08:33
forumdirectory, I am well aware that my script may not become famous, however, what I mean is that knowing what my script is (correct me if I'm wrong I don't believe I told you what my script was? now did I?) it is actually quite an impressive idea I think at least and since it can potentially solve a notable problem it could potentially be well known. Perhaps you did not precisely mean to type what you did, but if you did please consider a less seemingly unconstructive criticism in the future. :-)
jmiller
April 14th, 2005, 09:18
forumdirectory, I am well aware that my script may not become famous, however, what I mean is that knowing what my script is (correct me if I'm wrong I don't believe I told you what my script was? now did I?) it is actually quite an impressive idea I think at least and since it can potentially solve a notable problem it could potentially be well known. Perhaps you did not precisely mean to type what you did, but if you did please consider a less seemingly unconstructive criticism in the future. :-)
Well, you did say:
"I have a script idea and anyway, I have a question to ask. My script (which when I'm done with I will announce) has a function where it can resolve a domain name IP."
Robert
April 14th, 2005, 09:47
Well, you did say:
"I have a script idea and anyway, I have a question to ask. My script (which when I'm done with I will announce) has a function where it can resolve a domain name IP."
I believe he meant that part of his script will do a reserve lookup on an IP and detect the hostname. But the script itself, in one piece, will be something that can be useful to other users and does carry the possibility to become famous and useful.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.