Php Whois Tutorial - Looking for Good tutorial

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Php Whois Tutorial - Looking for Good tutorial

farsiscript
Hi to all
Today i want make one php whois script , but i can not find any good tutorial about that , i know we can find many free php script @ hotscript , but i want make own whois . if you have good link of good tutorial please post here or send pm to me at forum . to help me
thanks to all smile.gif

Reply

jlhaslip
What exactly do you mean by a 'whois' script? What do you want it to do? Display the sign-on information from a Database or the ISP information from the client?

Reply

galexcd
Er.. Don't yell at me if I'm wrong, but I dont think whois lookups use Php to find out the info... I always thought that was some more of a server based script or something...
or maybe the different hosting companies send them the info?

I dont know.
Anybody know how alexa.com finds out traffic ratings?

Reply

electron
Well till where i can understand the question you mean to say you want to find a domain is registered or not for a submitted domain that someone has requested .

If you dont know PHP has it inbuilt to check the DNS records.
There are many functions in PHP related to DNS and stuff like dns_get_record() function, dns_get_mx() function, and dns_check_record() function

Here is the script using dns_get_record() function:
CODE
<?php
/* Request "ANY" record for php.net,
  and create $authns and $addtl arrays
  containing list of name servers and
  any additional records which go with
  them */
$result = dns_get_record("php.net", DNS_ANY, $authns, $addtl);
echo "Result = ";
print_r($result);
echo "Auth NS = ";
print_r($authns);
echo "Additional = ";
print_r($addtl);
?>


Hope this helps.
Have a good day.

 

 

 


Reply

farsiscript
Dear jlhaslip thanks for you help , but i need domain whois lookup . i want make one easy domain whois via php . i know for check .com domain i must know servers links to check domain . but i need samples to write this script.
Thanks dear electron for your help about DNS records and "dns_check_record() function"
thanks

Reply

electron
Actually i just found these functions some days ago and I was so amazed that PHP also gives DNS functions and stuff like these functions.
But there are only three functions of DNS that i could find.
Two are mentioned above and the third one is dns_get_mx() function that gets the MX records of the domain.
Though let me warn you that these functions are available and work only after PHP >= 5.
Also they are not available in the windows abd BSD platforms.

If you want to use with older PHP versions or the windows abd BSD platforms you may try the PEAR Packages.
I found some four of them:
http://pear.php.net/package/File_DNS
http://pear.php.net/package/Net_DNS
http://pear.php.net/package/Net_DNSBL
http://pear.php.net/package/Services_DynDNS

Choose whichever you like. But according to your need take the second one that is the Net DNS as it connects with a DNS server.

Hope this helps.
Have a good day.

Reply

farsiscript
woooow , thanks dear electron . they are very good tut , i use it

Reply

electron
Well glad to be off-service.
Hey by the way are you making some Domain Registration Stuff for your site that checks whether the domain is available or not.
Let me know when it is complete if you are doing that.
OR are you making a script for people to use if they want to sell domains.
Post your work and do share it with us.

Reply

farsiscript
Dear electron i trust You and other trap17 Members
so , Thanks for you help , you are good Guy , biggrin.gif ,
Yes my project is chaceks domain in 270 Domain last part like (.com , .net , .org ) its my university exam sad.gif
thanks :X

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. domain checker php tutorial - 12.72 hr back. (1)
  2. php whois tutorial - 20.45 hr back. (1)
  3. php dns check tutorial - 41.14 hr back. (1)
  4. write php whois script - 49.57 hr back. (1)
  5. php how to make a whois - 51.74 hr back. (1)
  6. php example whois - 52.02 hr back. (1)
  7. whois tutorial php - 58.91 hr back. (1)
  8. whois tutorial - 58.92 hr back. (1)
  9. tutorial whois php - 61.49 hr back. (1)
  10. php whois - 66.94 hr back. (1)
  11. whois php function - 86.92 hr back. (1)
  12. php domain whois tutorial - 114.54 hr back. (1)
  13. how to use pear whois - 115.57 hr back. (1)
  14. php whois information create script tutorial - 135.24 hr back. (1)
Similar Topics

Keywords : php, whois

  1. About Whois System
    searching websites' information (5)


      Looking for php, whois

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for php, whois

*MORE FROM TRAP17.COM*
advertisement



Php Whois Tutorial - Looking for Good tutorial



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE