Enter your search terms
Submit search form
my-Tool.com: Jaringan - Memeriksa berbagai macam kerja jaringan. - IP - Nama host
Alamat IP
Matematika
MaximaPHP
Jaringan
Kode Internet
Tanggal dan Waktu
Penguji Regexp
String dan Teks
Domain Kata
Game
Penguji Kode
Be Wise Bitwise
Ranqueen
Tanya Jawab
Tentang saya
Forum
Open Source Facts
Iklan Baris
Gratis AdManner
Bahasa Inggris
Bahasa Jepang
IP - Nama host
WHOIS
DNS
IP - Negara
IP - Long
IP - Nama host
Mengkonversikan antara alamat IP dan nama host.
Masukkan alamat IP atau nama host:
mis. 59.106.32.5, www.my-tool.com
Kebanyakan pengunjung yang menggunakan tool ini juga memanfaatkan
IP - Nama host
(16.5%),
IP - Nama host
(12.2%),
文字列とテキスト
(10.2%)
Kode sumber dari tool ini adalah:
<?php /****************************************************************** * * IPHostname, Mengkonversikan antara alamat IP dan nama host. * Copyright (C) 2006, Bowo Prasetyo * * http://www.my-tool.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation below, * * http://www.gnu.org/licenses/gpl.html#TOC1 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * * Program ini adalah software bebas; anda dapat mendistribusikannya * kembali dan/atau memodifikasinya di bawah aturan lisensi * GNU General Public License sebagaimana dipublikasikan oleh * yayasan Free Software Foundation di bawah, * * http://www.gnu.org/licenses/gpl.html#TOC1 * * Program ini didistribusikan dengan harapan akan bermanfaat, * tetapi TANPA JAMINAN APAPUN; bahkan tanpa jaminan terimplikasi * MERCHANTIBILITY ataupun FITNESS FOR A PARTICULAR PURPOSE. * Lihat GNU General Public License untuk lebih rincinya. * * Anda harus telah mendapatkan salinan GNU General Public License * bersama-sama dengan program ini; kalau tidak, silakan tulis surat * kepada yayasan Free Software Foundation, Inc., 51 Franklin Street, * Fifth Floor, Boston, MA 02110-1301, USA. * *****************************************************************/ unset($query); if (isset($_POST['query'])) $query = trim($_POST['query']); else if(isset($_GET['query'])) $query = trim($_GET['query']); ?> Masukkan alamat IP atau nama host: <form method="POST" action=""><input type="text" name="query" value="<?php echo $query ?>"><input type="submit"><br><span class="eg">mis. 59.106.32.5, www.my-tool.com</span></form> <br><br> <?php if (isset($query)) { echo $query.' --> '; if (preg_match('/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/', $query)==1) { echo gethostbyaddr($query).'<br><br>'; } else { if (($hosts = gethostbynamel($query))!==FALSE) { foreach ($hosts as $ip) echo $ip.', '; echo '<br><br>'; } } } ?>
©2006 my-Tool.com