Php voting applet-PHP source code

Source: Internet
Author: User
Php voting applet
'13'); // Set the source address, if not set, the forum server may have verification not allowed to reply curl_setopt ($ ch, CURLOPT_REFERER, "http://www.example.com/tea/index.php? M = content & c = index & a = lists & catid = 10 "); // save cookiecurl_setopt ($ ch, CURLOPT_COOKIESESSION, true); curl_setopt ($ ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1 ;. net clr 1.1.4322 ;. net clr 2.0.50727) "); curl_setopt ($ ch, CURLOPT_PROXY, $ proxy [$ I]); curl_setopt ($ ch, CURLOPT_POST, 1); curl_setopt ($ ch, CURLOPT_HEADER, 0); curl_setopt ($ ch, CURLOPT_URL, $ url); // to support cookiecurl_setopt ($ ch, CURLOPT_POSTFIELDS, $ data); $ result = curl_exec ($ ch ); if (curl_errno ($ ch) {echo 'curl error :'. curl_error ($ ch) ;}}for ($ I = 0; $ I <= 11; $ I ++) {echo "begin ". $ I. "vote"; toupiao ($ I); echo 'end'; echo "";}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.