I tried with the code below to fetch data from an url after loging in.
But when I fetch the data there is still the text from that site "acces denied", so maybe I have to change something on the code below? Does someone have a suggestion?
$snoopy = new Snoopy;
$submit_url = "http://www.tradedoubler.com/pan/login";
$submit_vars["name"] = "login";
$submit_vars["j_username"] = "####USERNAME####";
$submit_vars["j_password"] = "####PASSWORD####";*/
Did you solve this?
I've just spent weeks learning sql, working with the data in php, snoopy, DOM… and now I find out the PHP server is not logged in.
Does anybody know how to pass or re-create the needed cookies for a website's login to snoopy to show them when requesting the page?
I see snoopy has settings for username and password, but it doesn't seem to be the same thing (is that .htaccess login?)
check the post string,maybe have some hidden post data.
you can use httpwatch to monitoring the data following when you post the data.
so, first you must make sure that the data you post is right and complete