View Full Version : چگونه whois بسازیم ؟
mohammad hoseini
جمعه 18 مرداد 1392, 23:21 عصر
سلام دوستان سوال من اینه که چطور میشود یک هویز ساخت .
مثلا برای .ir از هویز nic.ir باید استفاده کرد ولی چطور ؟
AliRezaPro
جمعه 18 مرداد 1392, 23:43 عصر
از کلاسی که در لینک زیر هست استفاده کنید .دقیقا چیزی است که شما میخوایید
http://sourceforge.net/projects/phpwhois/
Unique
شنبه 19 مرداد 1392, 01:10 صبح
اگه سرور شما لینوکس باشه و دسترسی exec داشته باشی ! خود لینوکس یک whois command داره که هر دامنه ای بدی بهت میده ، مثلا خروجی nic.ir روی ubuntu من :
whois nic.ir
% This is the IRNIC Whois server v1.6.2.
% Available on web at http://whois.nic.ir/
% Find the terms and conditions of use on http://www.nic.ir/
%
% This server uses UTF-8 as the encoding for requests and responses.
% NOTE: This output has been filtered.
% Information related to 'nic.ir'
domain: nic.ir
ascii: nic.ir
remarks: (Domain Holder) Dot-IR (.ir) ccTLD Registry, Institute for Studies in Theoretical Physics and Mathematics (IPM)
remarks: (Domain Holder Address) Shahid Bahonar (Niavaran) Sq., Tehran, Tehran, IR
holder-c: ir00-irnic
admin-c: ir00-irnic
tech-c: as51-irnic
nserver: ns1.nic.ir
nserver: ns.nic.ir
nserver: ns5.univie.ac.at
nserver: auth51.ns.uu.net
last-updated: 2010-05-09
expire-date: 2015-05-26
source: IRNIC # Filtered
nic-hdl: ir00-irnic
org: Dot-IR (.ir) ccTLD Registry, Institute for Studies in Theoretical Physics and Mathematics (IPM)
e-mail: info@nic.ir
address: Shahid Bahonar (Niavaran) Sq., Tehran, Tehran, IR
phone: +98 21 2229 0306
fax-no: +98 21 2229 5700
source: IRNIC # Filtered
nic-hdl: as51-irnic
person: Alireza Saleh
e-mail: arsaleh@gmail.com
source: IRNIC # Filtered
البته از کلاس پست دوم هم میشه استفاده کرد.
AliRezaPro
شنبه 19 مرداد 1392, 01:20 صبح
معمولا به دلایل امنیتی این تابع رو disable میکنند . میخواستم به سئوال کننده ازجاء بدم به shell_exec() اما خودم این ارور رو گرفتم
Warning: shell_exec() has been disabled for security reasons in /home/u498459285/public_html/a.php on line 4
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.