faqts : Computers : Programming : Languages : PHP : Function Libraries : Network

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 9 people (67%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

Is it possible to use PHP to question a PH name server?

Jul 16th, 2001 07:45
Aaron Hawley, Martin Hallbeck, Onno Benschop,


Use fsockopen (ns-hostname, port [, int errno [, string errstr [, double
timeout]]]) to connect to the name server.
Then use fputs() and fgets() to send queries to the server.
-aaron