Forum Moderators: coopster
I'm trying to open a file in a script.
The file I'm trying to open is a .csv and is located on another website.
If I use:
$date=file("http://www.exampe.com/file.csv");
I get a URL file-access is disabled error.
If I open the file myself, save it to my site, and use:
$date=file("file.csv");
The data works just fine.
Is the error I'm getting based on how my website is configured, or based on how the other website is configured.
Thanks
It appears that your server does not have permissions to access theirs, in which case the problem resides on their end, but it may not be a problem at all...for them ;)