20) if ($fp = fopen("http://admin.ameriservers.net/cp/apps/listDomain.html?exDomainName=".$dname, "r")){ 21) while (($current=fgetss($fp, 4096))) { 22) echo $current;
What does it mean "success" what am I not doing properly? The eventual goal of the code will be to take a form submition and get the output from another remote form, parse it and return a specific result. At the moment I'm just trying to get the remote form reply and echo the whole thing to my page.
:FMT
It is not executing the IF statement as though it is resolving, instead it is executing the }else { echo "Cannot connect!"; } :FMT