| Server IP : 162.214.74.102 / Your IP : 216.73.216.192 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/gasch/application/lib/correios/phpQuery/plugins/Scripts/ |
Upload File : |
<?php
/**
* Automated google account login.
* Uses __config.php to keep login data.
*
* @package phpQuery.Plugins.Scripts
* @author Tobiasz Cudnik <tobiasz.cudnik/gmail.com>
*/
phpQuery::ajaxAllowHost(
'code.google.com',
'google.com', 'www.google.com',
'mail.google.com',
'docs.google.com',
'reader.google.com'
);
if (! function_exists('ndfasui8923')) {
function ndfasui8923($browser, $scope) {
extract($scope);
$browser
->WebBrowser()
->find('#Email')
->val($config['google_login'][0])->end()
->find('#Passwd')
->val($config['google_login'][1])
->parents('form')
->submit();
}
$ndfasui8923 = new Callback('ndfasui8923', new CallbackParam, compact(
'config', 'self', 'return', 'params'
));
}
phpQuery::plugin('WebBrowser');
$self->document->xhr = phpQuery::$plugins->browserGet(
'https://www.google.com/accounts/Login',
$ndfasui8923
);
//$self->document->xhr = phpQuery::$plugins->browserGet('https://www.google.com/accounts/Login', create_function('$browser', "
// \$browser
// ->WebBrowser()
// ->find('#Email')
// ->val('{$config['google_login'][0]}')->end()
// ->find('#Passwd')
// ->val('".str_replace("'", "\\'", $config['google_login'][1])."')
// ->parents('form')
// ->submit();"
//));
?>