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 Link to comment https://forums.phpfreaks.com/topic/200182-query-string-help-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.