Hi All,
I am calling function
$tmp = "http://someDNS.com";
file_get_contents($tmp);
where someDNS.com is defined in hosts file of server.
but it is not working but when i give ip address insteed of someDNS.com it works.
can any one help me to come out from this problem ...
is it compulsory to pass ip url to this function???
please reply ASAP ... i am waiting for your reply
url with DNS name as a parameter to function file_get_conten
Moderator: General Moderators