 |
ขอ code Domain Whois Search หน่อยนะคะ ใครพอจะเคยเขียนมั้งคะ |
|
 |
|
|
 |
 |
|
ขอโค้ด Domain Whois Search หน่อยค่า
เช่น
Registration Service Provided By: THE ONE SOFT
Contact: +666.3032593
Domain Name: TEENEE.COM
Registrant:
TeeneeMedia
TeeneeMedia ([email protected])
31 Phayathai building
Phayathai Road
Phayathai
Krung Thep Maha Nakhon Bangkok,10400
TH
Tel. +66.0894045670
Creation Date: 10-Sep-1999
Expiration Date: 10-Sep-2018
Domain servers in listed order:
dns4.teenee.com
dns.teenee.com
Administrative Contact:
TeeneeMedia
TeeneeMedia ([email protected])
31 Phayathai building
Phayathai Road
Phayathai
Krung Thep Maha Nakhon Bangkok,10400
TH
Tel. +66.0894045670
Technical Contact:
TeeneeMedia
TeeneeMedia ([email protected])
31 Phayathai building
Phayathai Road
Phayathai
Krung Thep Maha Nakhon Bangkok,10400
TH
Tel. +66.0894045670
Billing Contact:
TeeneeMedia
TeeneeMedia ([email protected])
31 Phayathai building
Phayathai Road
Phayathai
Krung Thep Maha Nakhon Bangkok,10400
TH
Tel. +66.0894045670
Status:ACTIVE
The data in this whois database is provided to you for information purposes only,
that is, to assist you in obtaining information about or related
to a domain name registration record. We make this information available "as is",
and do not guarantee its accuracy. By submitting a whois query, you agree that you will
use this data only for lawful purposes and that, under no circumstances will you use this data to:
(1) enable high volume, automated, electronic processes that stress
or load this whois database system providing you this information; or
(2) allow, enable, or otherwise support the transmission of mass unsolicited,
commercial advertising or solicitations via direct mail, electronic mail, or by telephone.
The compilation, repackaging, dissemination or other use of this data is expressly prohibited without
prior written consent from us. The Registrar of record is Directi Internet Solutions Pvt. Ltd. d/b/a PublicDomainRegistry.com.
We reserve the right to modify these terms at any time.
By submitting this query, you agree to abide by these terms.
ขอบคุนค่า ^_^
Tag : PHP
|
|
 |
 |
 |
 |
Date :
2011-06-09 09:33:17 |
By :
ฟ้า |
View :
1119 |
Reply :
3 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Code (PHP)
<div align="center"><span class="textmenu"><br>
ตรวจสอบชื่อ Domain Name</span><br>
<br>
<span class="textmenu">
<?PHP
if ($domain)
{
if ($domain)
{
// first get the domain server from internic. you can also change the alternative
// whois server to something else that suits you.
$fp = fsockopen( "whois.networksolutions.com", 43, &$errno, &$errstr, 10); //ตรง whois. ผมทดลองเปลี่ยนดูหลายๆตัวแล้ว ผลก็ออกมาในลักษณะเดียวกันเลยครับ
if (!$fp)
{
echo "$errstr ($errno)<br>\n";
}
else
{
fputs($fp, "$domain\r\n");
while(!feof($fp))
{
$buf = fgets($fp,128);
if (ereg( "Whois Server:", $buf))
{
$server = str_replace( "whois server: ", "", $buf);
$server = trim($server);
}
}
fclose($fp);
}
if ($server)
{
echo "<B>Domain ชื่อ <font color=red>$domain</font> <font color=blue>ได้มีคนจดทะเบียน Domain นี้แล้ว</font> <br>Registered at $server</B><BR>";
echo "<PRE>";
$fp = fsockopen($server, 43, &$errno, &$errstr, 10);
if(!$fp)
{
// echo "could not open connection to $server on port 43.\n";
// echo "$errstr ($errno)<br>\n";
}
else
{
fputs($fp, "$domain\r\n");
while(!feof($fp))
{
echo fgets($fp,128);
}
fclose($fp);
}
}
else {
echo( "<b>Domain ชื่อ <font color=red>$domain</font> <font color=blue>ยังไม่มีคนจด Domain นี้ </font><br>คุณสามารถจดทะเบียนโดเมนเนมนี้ได้</b><BR>");
}
echo ( "</PRE><BR>");
}
}
?>
</span></div>
<FORM ACTION=" <?PHP echo($PHP_SELF); ?>" METHOD="post">
<div align="center">
<p class="textmenu">ใส่ชื่อ ( Domain.com,.org.net )<font face="MS Sans Serif" size="2"><br>
<br>
</font>www.
<INPUT TYPE="text" NAME="domain" SIZE="30" MAXLENGTH="100" class="checkbox">
<INPUT TYPE=submit VALUE="ตรวจสอบ" class="checkbox">
<br>
<br>
ไม่ต้องมี www เช่น <b>thaicreate.com</b></p>
<p> </p>
<p><span class="textmenu"><a href='javascript:window.close()'><font color="#FF0000">ปิดหน้าต่างนี้</font></a>
</span> </p>
</div>
</FORM>
<font face="MS Sans Serif" size="2"> </font>
Go to : เรื่อง code whois ครับ พอดีว่าผมลองค้นกระทู้ที่เกี่ยวกับ code whois แล้วไปเจออยู่ code หนึ่งครับทดสอบกับ
|
 |
 |
 |
 |
Date :
2011-06-09 10:10:21 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ถ้าอยากได้แค่นี้ จะได้ไมคะ
Registration Service Provided By: THE ONE SOFT
Contact: +666.3032593
Domain Name: TEENEE.COM
Registrant:
TeeneeMedia
TeeneeMedia ([email protected])
31 Phayathai building
Phayathai Road
Phayathai
Krung Thep Maha Nakhon Bangkok,10400
TH
Tel. +66.0894045670
|
 |
 |
 |
 |
Date :
2011-06-10 15:18:15 |
By :
Poster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
อยากได้ที่เป็น ASP นะครับ ไม่ทราบว่ามีไหม ขอหน่อยคับ
ขอบคุณคับ
|
 |
 |
 |
 |
Date :
2011-09-07 18:25:33 |
By :
่jonni_m |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|