I can't check the avilability of domain name

Status
Not open for further replies.

henry

New Member
Messages
26
Reaction score
0
Points
0
I encountered the following problem when I try to search domain name from "http://whois.hichina.com/cgi-bin/whois".

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/jeff/public_html/search_domain.php on line 38

Warning: file_get_contents(http://whois.hichina.com/cgi-bin/whois?domain=comeonmyweb2.com&GO=GO) [function.file-get-contents]: failed to open stream: no suitable wrapper could

my code is as follows:
$cha = 'http://whois.hichina.com/cgi-bin/whois?domain='.$dname.'&GO=GO';
$fp = file_get_contents($cha,'rb');

please help me out.

thank you for your help.
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
1.) Link your hosting account.

2.) It looks like you might need to upgrade your PHP Version, but you must Link your hosting account with your forum account before this can happen.
 
Status
Not open for further replies.
Top