echo "<center><form method=\"get\" id=\"searchform\" action=\"?domain=\"> \n"; echo " <input type=\"text\" value=\"$keys\" name=\"domain\" id=\"searchbox\"><right><input type=\"submit\" value=\"Ok\" /></right> \n"; echo "</form></center> \n";
This is a domain search form. Domain names can be searched only in zones (.com, .net, .org, .inf, .biz)
Neither can I figure out how to do one function.
That is, if you do a search in other zones, the script should give an error and leave it on the main one.
example domain.com/?domain=love.com is the correct url, if the zone is valid, if not, it should only remain in the main directory and give an error that the search is not correct.
How to do it? Neither can I understand