I want to access this page which returns an xml file after entering the correct username and password
http://webservices.ns.nl/ns-api-avt?station=ut
I want to pass this xml to flash but I don’t know how to pass the username and password
I am looking forward to something like that
username:password@webservices.ns.nl/ns-api-avt?station=ut
or using php
here the site url of that api if it helps http://www.ns.nl/api/api
thanks in advance
You can do this in several ways in php..
if you happen to host your code in a linux env or has a native curl support, you can
or you can use the module
class.http.phpfrom HTTP Library