avataru Posted May 8, 2007 Share Posted May 8, 2007 Hello everyone, I'm trying to create an iGoogle gadget which will grab an XML file and output something besed on its contents. The problem I'm having is that in order to get the XML file, authentication is required. The url is something like this: https://www.website.com/login.php?user=myusername&pass=mypassword&login=Login&Check=OK&t=/xmlgenerator.php?id=123456 When you go to that url with a browser the server will authenticate you and redirect you to https://www.website.com/xmlgenerator.php?id=123456 which outputs the XML file I need. Any idea if it's possible to do this using PHP? Thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/50461-grabing-a-file-from-a-remote-source-auth-required/ Share on other sites More sharing options...
avataru Posted May 8, 2007 Author Share Posted May 8, 2007 I don't seem to be able to edit the above post and I wanted to add that I'm looking for a solution that doesn't involve cURL / libcurl since I can't install them on the server. Quote Link to comment https://forums.phpfreaks.com/topic/50461-grabing-a-file-from-a-remote-source-auth-required/#findComment-248015 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.