what is wrong

Can you tell me what is wrong with this string of code?

<?php /** * * @ Universal Decoder PHP 5.2 * @ By Ps2Gamer * @ http://decodeby.us * */ <?php $_X=base64_decode($_X);$_X=strtr($_X,'SgPO9YZWFKmqyfxcjLJRzuM5vNts1b.{B4nC]i/2Dl0EheA [d8=Qp>VXo H}6GIw7ka3TrU<','=R9odmplAEPyk8gv[53xrMezqZHi7YhWCcX}1N/afj6]JtuS .BUnwVKLQO20ITF4b');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0; ?> <?php /** * * @ Universal Decoder PHP 5.2 * @ By Ps2Gamer * @ http://decodeby.us * */

Can you tell us what’s wrong with the code?

i´m trying to install a autoresponder on my website and after i run the installer i get this message and not the login page. Any suggestions?

Message: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/awsomesuperfoods/public_html/responder/application/libraries/admin_controller.php:15)
Filename: core/MY_Controller.php(1) : eval()'d code(3) : eval()'d code
Line Number: 16

An autoresponder for what? If it is for your mail, using the mail client is smarter. And then there is always this,

[b]Caution[/b]

The eval() language construct is very dangerous because it allows execution of arbitrary PHP code. Its use thus is discouraged. If you have carefully verified that there is no other option than to use this construct, pay special attention not to pass any user provided data into it without properly validating it beforehand.

Hi oldwizard

I don’t think the code you pasted has relevance to your issue. Your session is being broken because the code in general is not working, sending us a link to the auto responder source code or checking that you have installed it correctly (check for a config file) are probably your best options.

I agree with astonecipher about eval (), there is generally no need to be using it for standard coding.

If you have just taken code from somewhere and it doesn’t work, why not have a look if you can write something that will work for your situation. Often it is simpler to write something than to debug a library that is difficult to install or whose methodologies are different from your own.

Sponsor our Newsletter | Privacy Policy | Terms of Service