sihabcse21 / php-adsense-account-library

Automatically exported from code.google.com/p/php-adsense-account-library
GNU General Public License v3.0
0 stars 0 forks source link

unable to login using adsense php script #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i beleive my script is failing at the following location:

 //phase 4
        preg_match('/location\.replace\("(.+?)"\)/',
curl_exec($this->curl), $matches);
        echo "\n<br>$matches[1]";
        $matches[1] = preg_replace_callback("/\\\\x(..)/i",
create_function('$matches', 'return chr(hexdec($matches[1]));'), $matches[1]);
        curl_setopt($this->curl, CURLOPT_URL, $matches[1]);

it appears that there is no location.replace statement in the content of
phase 3. Do we know if google changed the settings again or is it something
unique to my adsense account?

Original issue reported on code.google.com by inbaraja...@gmail.com on 15 Apr 2009 at 1:54

GoogleCodeExporter commented 8 years ago
btw, i am logging into a premium adsense account. I am not sure if that should 
make a
difference. 
what do the above statements do/accomplish?
it looks like by phase 3 i am already logged in. So , phase 4 does.

Original comment by inbaraja...@gmail.com on 15 Apr 2009 at 1:57

GoogleCodeExporter commented 8 years ago
unfortunately I have not premium account. so I don't know how to help you

Original comment by vklepiko...@gmail.com on 16 Apr 2009 at 10:00