Chikwado Posted February 23, 2016 Share Posted February 23, 2016 How to make domain check availability script php? Link to comment Share on other sites More sharing options...
justsomeguy Posted February 23, 2016 Share Posted February 23, 2016 I'm not sure technically how other sites check, but looking up DNS records would be one way. http://php.net/manual/en/function.dns-get-record.php Link to comment Share on other sites More sharing options...
Chikwado Posted February 24, 2016 Author Share Posted February 24, 2016 I have made the following script which does not report error or yield result code. What am i doing wrong please. Link to comment Share on other sites More sharing options...
thescientist Posted February 24, 2016 Share Posted February 24, 2016 You haven't added any error reporting. I would start with that. Are you making sure $_POST['domainname'] is being submitting correctly from your form? Where does the code go from there? I would add more echo statements and trace all steps of your code execution. Link to comment Share on other sites More sharing options...
justsomeguy Posted February 24, 2016 Share Posted February 24, 2016 Does whois.crsnic.net respond on port 43? Why does your form have a single checkbox? If that isn't checked then you don't do anything. Link to comment Share on other sites More sharing options...
Chikwado Posted March 2, 2016 Author Share Posted March 2, 2016 (edited) What is the port number of the server that host .com, .net and .org? I am using port number 43 which is not working, Each titme i process file, I get reply "Unable to connect server time out" I need correct port number and how to handle time out. Raw code Some one help. Edited March 2, 2016 by Chikwado Link to comment Share on other sites More sharing options...
justsomeguy Posted March 2, 2016 Share Posted March 2, 2016 Where did you get that list of servers, and why are you using port 43? Where is this information coming from? Link to comment Share on other sites More sharing options...
Chikwado Posted March 2, 2016 Author Share Posted March 2, 2016 I found that script from stackoverflow. I really need help to make a script that would check domain name. Link to comment Share on other sites More sharing options...
justsomeguy Posted March 2, 2016 Share Posted March 2, 2016 It looks like there's a project here: https://sourceforge.net/projects/phpwhois/?source=navbar Link to comment Share on other sites More sharing options...
Chikwado Posted March 3, 2016 Author Share Posted March 3, 2016 (edited) Same old story. This file yet return connection failed, The file is hosted in server version 5.2 Script More advise. Edited March 7, 2016 by Chikwado Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now