תודה רבה על העזרה.אבל ניסיתי מה שאמרת וזה לא עובד...הנה קטע הקוד:
PHP קוד:
if (isset($_POST)){
$domainbase = $_POST['domainname'];
// Check domains only if the base name is big enough
if ($_POST['matan'] == ".co.il")
showDomainResult($domainbase.".co.il",'whois.isoc.org.il','No match for');
elseif ($_POST['matan'] == ".com")
showDomainResult($domainbase.".com",'whois.crsnic.net','No match for');
elseif ($_POST['matan'] == ".net")
showDomainResult($domainbase.".net",'whois.crsnic.net','No match for');
elseif ($_POST['matan'] == ".org")
showDomainResult($domainbase.".org",'whois.crsnic.net','No match for');
elseif ($_POST['matan'] == ".org.il")
showDomainResult($domainbase.".org.il",'whois.crsnic.net','No match for');
elseif ($_POST['matan'] == ".biz")
showDomainResult($domainbase.".biz",'whois.crsnic.net','No match for');
elseif ($_POST['matan'] == ".info")
showDomainResult($domainbase.".info",'whois.crsnic.net','No match for');
}
תוכל לנסות לראות מה הבעיה?
אגב-הבעיה היא שלא משנה איזה דומיין אני רושם זה אומר שהדומיין תפוס