Welcome to WebmasterWorld Guest from 126.96.36.199
$xyz = '/home/userid/public_html/dir/file.dat';
$abc = implode("," , file($xyz));
The message is:
failed to open stream: Permission denied in /home/userid/public_html/dir/file.dat on line 11
Can anybody help how to fiz it please.
edit: I changed all the permissions to 777 and it works, but I don't want to do it on all files.