I've got the below warning messages when I use "include" in my script:
Warning: php_hostconnect: connect failed in /home/.sites/143/site2/web/Admin/adminmain.php on line 77
Warning: Failed opening 'http://www.mywebsite.com/Admin/mainchoice/memberinfo.php?subchoice=' for inclusion (include_path='') in /home/.sites/143/site2/web/Admin/adminmain.php on line 77
The code is like that:
$filename = 'http://www.mywebsite.com/Admin/mainchoice/memberinfo.php?subchoice='.$subchoice;
include($filename);
Because my website is hosting by the webhosting company and I can't change the conf of PHP. Would anyone tell me how to solve this problem?
Thanks a lot!!!