I am getting the error
Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/tmp/) in /www/elitno.net/s/p/anger2/home/site/classWebPage.php on line 83
My phpinfo file is here -> http://spaceranger2.elitno.net/phpinfo.php
The line where the error is occuring is here:
function openLink(){
$this->fp = fopen($this->URL, "rb");
array_shift($http_response_header);
$this->headers = $http_response_header;
}
I only have access to .htaccess but not my php.ini file; i tried using this
open_basedir = "VIRTUAL_DOCUMENT_ROOT:/tmp/:/www/elitno.net/s/p/ranger2/home/site/"
but this generates 500 internal error
's, any suggestions?