View Single Post
  #1 (permalink)  
Old 08-12-04
apathy- apathy- is offline
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
apathy- is an unknown quantity at this point
  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
Reply With Quote
Sponsored Links