Hi All,
I have some problem with file_get_contents()
function, it not working properly when I tried to read URL like
"http://google.com"
is accessible but when I tried to access any file like "classes/connect_temp.txt" it is not accessible.
Here is some code i use
$file_path =realpath('./')."/classes/connect_temp.txt";
$temp_cont = file_get_contents($file_path);
if(empty($temp_cont)){$temp_cont=$this->dbSetings;}
What should I change in code or which config settings should I check of it.
Please Help me on this problem