Welcome to WebmasterWorld Guest from 18.104.22.168
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:
I get a URL file-access is disabled error.
If I open the file myself, save it to my site, and use:
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.
joined:Nov 12, 2005
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 ;)
The specific error I'm getting is this:
Warning: file(): URL file-access is disabled in the server configuration in X.php on line Y
Warning: file(http://www.exampe.com/file.csv): failed to open stream: no suitable wrapper could be found in X.php on line Y