You are here:  » protection


protection

Submitted by mtorulez on Tue, 2006-12-12 14:26 in

now what, if a xml is protected by a htaccess password;

Submitted by support on Tue, 2006-12-12 14:29

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.