PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- function post_content ($url,$postdata) {
- $uagent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)";
- $header['errno'] = $err;
- $header['errmsg'] = $errmsg;
- $header['content'] = $content;
- return $header;
- }
- $url = 'https://steamcommunity.com/login/home/';
- $postdata = 'mode=logon&username=юзер&password=пасс';
- $result = post_content( $url, $postdata );
- $html = $result['content'];
- echo $html;