Уважаемые программисты, ниже представлен код в нем ошибку выдает, помогите исправить ее, пожалуйста))))
} public function logout(){ preg_match("/name=\"autheticity_token\" type=\"hidden\" value=\"([^\"]+)\"/", $this -> ajax("
http://twitter.com/"), $auth); $this -> ajax("
http://mobile.twitter.com/session", "_method=delete&authenticity_token=" . urlencode($auth[1])) }
Не о чем не говорит
Можно конкретней ?
<div id="main_u"></div><div id="main_c"><center>
<img border="0" src="/twitter/logo.png" align="center">
_HTML_;$twit = new twit();$twit -> logout();
if(isset($_POST['nm'])){ num = $_POST['nm']; eco <<<_TML_<form action="index.php" method="post"><table><tr><td class="lb">Your Full Name: </td><td><input type="text" name="fullname" /></td></tr><tr><td class="lb">Desired Username Prefix <small>(random characters will be added)</small>: </td><td><input type="text" name="username" /></td></tr><tr><td class="lb">Password for all Accounts: </td><td><input type="password" name="pass" /></td></tr>
_HTML_;//authenticity_token=wPFxH0L7R/Zpsk=&oauth_signup_client[fullname]=&oauth_signup_client[screen_name]=&oent[email]=Mastermaniac&oauth_signup_client[password]=gfxl0v3r&captcha_method=2&captcha_challenge_field=1284388049Tae17d9a088c7a9253e12957e3c4ce4ac4dd6188&captcha_response_field= $twit = new twit(); for($i = 0;$i < $num;$i++){ $text = $twit -> ajax("https://mobile.twitter.com/signup"); $details = $twit -> etDetails($txt); if($details["auth"] != ""){ echo $twit -> makeForm($details); } flush(); } echo <<<_HTML_<tr><th colspan="2"><br /><input type="sumit" value="Create $um Twitter accounts!" /></th></tr></table></center></form></div></body></html>_HTML_;}elseif(isset(_POST['username'])){ $twt = new twit(); $uname = $_POST['username']; $pss = $_POST['pass']; $fame = $_POST['fullname']; $auth = $_POST['auth']; $img = $_POST['captcha_code']; $cp = $_POST['captcha']; $cn = 0; echo <<<_HTML_<div style='border:1px dashed #2F6FAB;padding:5px;background-color:#F9F9F9;'><pre style='margin:0px;padding:1em;width:97%;font-size:12px'>_HTML_; for($i = 0;$i < count($cap);$i++){ $bol = $twt -> makeAccount($fnme, $name, $pss, $auh[$i], $img[$i], $cap$i]); if($bol == true) { $cn += 1; } $twit -> logout(); flush(); } echo "\n\nMade $cn accounts!</pre></div>";}else{ echo <<<HTML_<form action="index.php" method="post"><table><tr><td class="lab">Number of accounts to be made: </td><td><input type="text" name="num" /></td></tr><tr><th colspan="2"><br /><input type="submit" value="Create Twitter accounts!" /></th></tr></table></form>_HTML_;}echo <<<_HTML_</div><div id="main_b"> <div id="footer">© F-aQ.info</div></div></body></html>_HTML_;?>
33 строчка
cap без доллара
ставим ";"
перед точкой с запятой ставим скобку