Automagically logging in to affiliate window
i'm currently trying to log into our affiliatewindow account automagically in a script so we can grab the relevant report info and parse it into a database so we can poke about with the numbers
my current method involves Curl
PHP Code:
$var = `curl -b cookies.txt -c cookies.txt --location-trusted http://www.affiliatewindow.com/?user=xxx&password=xxx`;
however when i echo my $var contents it's just the contents of a failed login page.
my question is twofold:
1) does anybody know how i can automate that login using the method above without it failing
OR
2) is anybody aware of another method of grabbing report data from affiliatewindow which would bypass this logon problem
|