|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
PHP-General - Detailed domain query
how can i get query result like whois.sc ?
Registrant: Administrator: Technical Contactor: Billing Contactor: Registration Service Provider: |
|
#2
|
||||
|
||||
|
One way would be to use PHP's system(), or passthru() function.
That is, if you are running it from Linux. Something like PHP Code:
You'll just need to do a bit of parsing, and make sure no one slips illegal commands into it. |
|
#3
|
|||
|
|||
|
i tried it for devshed.com but no result
PHP Code:
and PHP Code:
where is my error ? |
|
#4
|
||||
|
||||
|
Are you running php on Linux?
You can try two things, try this code PHP Code:
or... if that doesn't answer your question, see whether whois even works. ssh into your machine, and type whois 66.230.239.174 to see what happens. |
|
#5
|
|||
|
|||
|
i m trying it on centOS
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > PHP-General - Detailed domain query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|