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 "";}