Hi Guys, Okay, since I changed to a VPS, I am getting this message on my index page: Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/xxxxxx/public_html/index.php on line 104 It appears that wherever I have a php include, it comes up with this error message. Any ideas how to fix this error? Thanks in advance!
In the php.ini file you must have: allow_url_fopen = On Code (markup): But for more secure code you should allow_url_fopen = Off Code (markup):
hi, which one did you use? //relative include $_SERVER['DOCUMENT_ROOT'].'/domain.ph/path/to/file/index.php'; //absolute include 'http://domain.ph/path/to/file/index.php';