hi , I am working on testing some scripts .. But there are lots of errors i am facing .. the common error is Parse / syntax Parse error: syntax error, unexpected '(' .. This is the the line which is currently giving errors while executing . md5("som3_admin",$username)()setcookie$password$_POST$username$_POST; Code (markup): plz help thnx Marshal
Your code looks all scrambled, could you post starting about five lines before that one to about five lines after? it should look something like" md5("som3_admin",$username); setcookie([i]cookie_name[/i],[i]value[/i]); //perhaps $password$_POST$username$_POST; should be: $password = $_POST['password']; $username = $_POST['username']; Code (markup): there really is no way to straighten it out without more info.
This is the full PHP file which is giving errors <?php header("Location:index.php"); md5("some3_admin",$username)()setcookie$password$_POST$username$_POST; md5("some3_pass",$password)()setcookie; header("Location:index.php"); $_COOKIE; $_COOKIE; header("Location:index.php"); header("Location:install.php"); echo "[Obfuscated]0D 0A 3C 6C 69 6E 6B 20 68 72 65 66 3D 22 73 74 79 6C 65 2E 63 73 73 22 20 72 65 6C 3D 22 73 74 79 6C 65 73 68 65 65 74 22 20 74 79 70 65 3D 22 74 65 78 74 2F 63 73 73 22 3E 0D 0A 0D 0A "; echo "<s"; echo "tyle> \n{margin:0; padding:0;} \n</style> \n"; echo "<s"; echo "cript language="JavaScript"> \nfunction openBrWindow(theURL,winName) \n{ //v2.0 \nwindow.open(theURL,winName,'width=550,height=550,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0'); \n} \n \n</script> \n \n<table width="100%" border="0" cellspacing="0" cellpadding="0"> \n \n <tr> \n <td width="14"> </td> \n <td> </td> \n <td> </td> \n <td width="19"> </td> "; echo "\n <td> </td> \n <td> </td> \n <td width="17"> </td> \n </tr> \n <tr> \n <td height="33"> </td> \n <td colspan="5">"; echo "<s"; echo "pan class="pagetable_activecell">Hello Admin!!</span> Welcome back. Did you check the <a href="ppc-admin-to-do.php" class="mainmenu">"; echo "<s"; echo "trong>TO DO page</strong></a> today?</td> \n <td> </td> \n </tr> \n <tr> \n \n <td height="116"> </td> \n \n <td valign="top" width="90">"; echo "<s"; echo "pan class="main_head"><img src="http://www.v7n.com/forums/images/advertiser.gif" align="absmiddle"></span></td> \n \n <td valign="top" width="287">"; echo "<s"; echo "pan class="main_head" >Advertisers</span> \n <a href="javascript:;" onClick="openBrWindow('help_admin.php?id=1','template')" ><img src="http://www.v7n.com/forums/images/help.gif" width="18" height="18" border="0"></a><br /> \n <br /> \n<div style="padding-bottom:2px;"><img src="http://www.v7n.com/forums/images/1rightarrow.gif" width="10" height="10" align="absmiddle"> <a href="ppc-view-users.php" class="mainmenu">Active Advertisers ("; echo echo_one("select count(*) from ppc_users where status=1 ")echo ")</a> </div> \n <div style="padding-bottom:2px;"><img src="http://www.v7n.com/forums/images/1rightarrow.gif" width="10" height="10" align="absmiddle"> <a href="ppc-view-blocked-users.php" class="mainmenu">Blocked Advertisers ("echo echo_one("select count(*) from ppc_users where status='0' ")echo ")</a></div> \n <div style="padding-bottom:4px;"><img src="http://www.v7n.com/forums/images/1rightarrow.gif" width="10" height="10" align="absmiddle"> <a href="ppc-view-pending-users.php" class="mainmenu">Pending Advertisers ("echo echo_one("select count(*) from ppc_users where status='-1' ")echo ")</a></div> \n <div style="padding-bottom:2px;"><img src="http://www.v7n.com/forums/images/1rightarrow.gif" width="10" height="10" align="absmiddle"> <a href="ppc_search_user.php" class="mainmenu">Search Advertisers</a></div> </td> \n <td> </td> \n \n <td width="97" valign="top">"echo "<s"echo "pan class="main_head"></span><br/> \n <img src="http://www.v7n.com/forums/images/publisher.gif" height="80" width="80" align="absmiddle" / Return (1); ?> Code (markup):