On the AnyExamples.com website, there's a new little how to on making a whois client in PHP (without just using an exec or similar call to the filesystem).
This article contains PHP implementation of whois client (as a function ae_whois), which may be used to request domain information from specified whois servers.
Their method uses the socket functionality (fsockopen, fwrite, fclose) to make a connection to the remote server for the specified domain's information.
HEADLINES
Forces align against GOP in Senate races
Even the top Republican in charge of the party's Senate campaigns concedes that the GOP will lose seats this year — the only question is how many.
Sudans president attends Africa summit in Turkey
(AP)
AP - Sudanese President Omar al-Bashir attended a summit of African leaders in Turkey on Tuesday in his first trip abroad since an international court indicted him on genocide charges last month.
Pakistani coalition focuses on security, economy
(Reuters)
Reuters - Leaders of Pakistan's coalition
government set about tackling pressing economic and security
problems on Tuesday as a bomb at a hospital in a northwestern
town killed 20 people.