I have a folder \folder\ above the webroot that contains .php, .inc, .dat files
the
.phpcan access the.incno problembut when the
.inctries to access the.datusingfopen('mydat.dat', "rb");it gives an error that it can't findmydat.datinside\folder\myinc.inc
Of course it can't find it since .inc is a file not a folder. Why is php treating it as such?
Any ideas why php is trying to find the .dat inside the .inc?
or any other alternatives to fopen($filename, "rb")?