Example #1
0
function process_login($Html)
{
    $PostHash = extract_form_hash($Html);
    $PostHash['username'] = '******';
    $PostHash['passwd'] = 'grafdevalery';
    $Html = copy_be($Html, '<form ', '>');
    $Tags = extract_property_values($Html, 'action', "\r\n");
    $Html = download($Tags, 'POST', 'http://www.buker.ru/dostaken.php', $PostHash);
    return $Html;
}
Example #2
0
function extract_league($Html)
{
    $Html = replace_all($Html, '<table', '</table>', '', 'долгосрочные ставки');
    return extract_form_hash($Html);
}