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= ... ?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.
Grabing a file from a remote source (auth required)
Moderator: General Moderators
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
CURL could potentially be used.
Do you have an agreement with the site's ownsers to allow you to pull down the information ?
Do you have an agreement with the site's ownsers to allow you to pull down the information ?