You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to read a OPML file (sources.opml) stored in same path that opml-parser.php in server, but it doesn't work, even preceding with "DIR" the path.
$O_Contenido->ParseLocation('sources.opml', null); // doesn't work
$O_Contenido->ParseLocation('./sources.opml', null); // doesn't work
$O_Contenido->ParseLocation(__DIR__.'/sources.opml', null); // doesn't work
$O_Contenido->ParseLocation('https:/mysite/sources.opml', null); // works
Am I doing something wrong? I noticed that you use "curl" to retrieve file, but not sure if that's the issue.
Thank you
The text was updated successfully, but these errors were encountered:
Hi @RafaelLinux. If you want to use this class on a local file, you should use the file:// protocol, followed by the full path of the file you're trying to read. The file protocol is disabled by cURL if open_basedir is set.
I'm trying to read a OPML file (sources.opml) stored in same path that opml-parser.php in server, but it doesn't work, even preceding with "DIR" the path.
Am I doing something wrong? I noticed that you use "curl" to retrieve file, but not sure if that's the issue.
Thank you
The text was updated successfully, but these errors were encountered: