nkosinathi Posted April 29, 2010 Share Posted April 29, 2010 Hi All I need to write a PHP file/app to use the query string and from the results(query string results) obtained, write a conditional statement. The statement will be either Domain available or Domain Not Available depending on the (query string results and further processing might be needed. I have the following query string "Domain=MyDomainName&Enter=Enter" the whole URL and Query String is http://www.coza.net.za/cgi-bin/whois.sh?Domain=MyDomainName&Enter=Enter. I want to be able to echo whether the domain is a Match (Meaning not available for registration on .CO.ZA namespace) or it has NO Match ( I can Register on CO.ZA) I will have the text box in the Form where the the user will input the desired name and action my PHP script E.G. <form action="domainchecker.php" method="post" name="domain"> Domain name: <table> <tr><td><input name="domainname" type="text" /></td></tr> <tr><td><input type="submit" name="submitBtn" value="Check domain"/></td> </tr> </table> </form> MY Problem is what to put in domainchecker.php to implement this. I have tried socket connection to the whois server but co.za does not have this, I have to use Query strings and I am stuck and pulling my hair off. Thanks in advance Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.