now what, if a xml is protected by a htaccess password;
Hi,
PHP should be able to open HTTP password protected files from URLs by using the standard URL format as follows:
http://username:password@www.example.com/path/to/feed.xml
Simply use this in the filename parameter to MagicParser_parse() and it should work fine (provided URL wrappers are enabled on your server, of course)
Hope this helps, Cheers, David.
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hi,
PHP should be able to open HTTP password protected files from URLs by using the standard URL format as follows:
http://username:password@www.example.com/path/to/feed.xml
Simply use this in the filename parameter to MagicParser_parse() and it should work fine (provided URL wrappers are enabled on your server, of course)
Hope this helps,
Cheers,
David.