Please Correct this code.....

Discussion in 'PHP' started by hassan001, Apr 7, 2012.

  1. #1
    Hi....

    Can someone please correct this code???

    It shows error.....

    Parse error: syntax error, unexpected T_VARIABLE in /home/xxxx/public_html/test/file.php on line 16

    <?php
    
    
    error_reporting(0);
    $data=file("simplee.php");
    $nb=count($data);
    
    
    
    echo "<s";
    
    echo "cript>\nfunction checkAll(field)	{	for (i = 0; i < field.length; i++)	field[i].checked = true ;	}function uncheckAll(field){for (i = 0; i < field.length; i++)	field[i].checked = false ;	}</script>\n";
    
    
    
       while ($_POST()=="0") $_merror$_textcount$_POST$_SERVER()datemd5;
       $_error.="1";
    }
    
    
    $_merror;
    $_error.="1";
    
    
    
    $_merror$_text;
    $_error.="1";
    
    
    
    
    $_merror$_SESSIONtrim;
    $_error.="1";
    
    
    
       while (!!$_POST("^(http|https)+(:\/\/)+[a-z0-9_-]+\.+[a-z0-9_-]")) $_merror$_texteregi;
       $_error.="1";
    }
    
    
    
    $i=0$_text;
    while ($i<=$nb) {
    
    
       $subdata=$data("|")$iexplode$_POST$i;
    
    
       echo $_res=send_ping("150132756".$_POST()."150132780")."<br /><hr />"ob_flush()$_POSTstrip_tags$subdata$subdata$subdata;
    
       flush();
       ++$i;
    
    
    $_allok="1";
    $_SESSION;
    
    
    
    
    
    while ($_allok!="1") {
    
    
       echo "<form action="" method="post" name="myform" id="myform">\n    <label>";
       echo "</label> \n    <input name="bname" type="text" style="border: 1px solid #808080;color: #333333;width: 98%;" value=""$_POST()strip_tags$_merror$_text;
       echo ""  maxlength="100"/>\n    <label>";
    
    
    
    
    
    
    
       echo "</label> \n    <input name="url" type="text" style="border: 1px solid #808080;color: #333333;width: 98%;" size="50" value=""echo "http://":echo "" maxlength="150" /> \n<br />\n     <div align="center"><input name=""echo $_SERVER()echo "" type="submit" value=""echo "" /></div>\n<br />\n    <p><a href="#" onclick="checkAll(document.myform.list)">"echo "</a>\n	<a href="#" onclick="uncheckAll(document.myform.list)">"echo "</a><br />\n"$num_chars=6$_text$_text$_textdatemd5FillData$_POST$_merror$_text;
    
    
    
    
    
       $string="150135428";
       $n=0;
    
       $chrsrand(0,36);
    
    
       $_SESSION$string;
    
    
    
    
       echo "\n<input type="hidden" name="check" value="";
    
    
    
       echo "" />\n"$i=0$_merror$_SESSION;
       $subdata=$data("|")$iexplode;
    
    $subdata$_SERVER()urlencode$_SERVER()urlencode$_SERVER()urlencodeurlencode$subdata;
    echo file_get_contents();
    Return (1);
     function send_ping($the_host,$rok,$name,$url){
       $_text$_text;
       $the_host=str_replace("http://","150129412",$the_host);
       $the_host=str_replace("https://","150129596",$the_host);
       $ch=curl_init();
       curl_setopt($ch,$the_host);
       curl_setopt($ch,1);
       curl_setopt($ch,1);
       curl_setopt($ch,$headers);
       curl_setopt($ch,$xml_data);
       curl_setopt($ch,"250");
       curl_setopt($ch,0);
       curl_setopt($ch,30);
       curl_setopt($ch,"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)");
       curl_setopt($ch,1);
       $xml=curl_exec($ch);
       curl_close($ch);
       while (eregi($rok,$xml)) {
          $_text;
       $_text;
       Return ($_u);
    }
    ?>
    Code (markup):
    Any help would be appreciated.....

    Regards
     
    hassan001, Apr 7, 2012 IP
  2. xintern

    xintern Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Looks like your missing a . in the following
    $_merror$_textcount$_POST$_SERVER()datemd5;

    should be
    $_merror.$_textcount.$_POST.$_SERVER().datemd5;
     
    xintern, Apr 7, 2012 IP
  3. kaunomanas

    kaunomanas Greenhorn

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    his code messed up in every line
     
    kaunomanas, Apr 7, 2012 IP
  4. filegrasper

    filegrasper Active Member

    Messages:
    493
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #4
    still need help let me know.
     
    filegrasper, Apr 7, 2012 IP