Hi,
I need to know more about file() and eval() . I've read up in php.net but don't really understand what it means. Anybody able to explain it in more details and steps ?
Really appreciate it if anyone could help me.
One more stuff is that some of the php source code that i have is input with some chinese character however i am unable to view it correctly. It shows me something like this:
<?php
//==================================
//Title: »áÔ±µÇ½
//Description: ÆóÒµ¶ÌÐÅ»áÔ±
//==================================
$tmp_thispath = $_SERVER["SCRIPT_NAME"];
$L_thispath = (dirname($tmp_thispath) == '/')?'logon':'logon';
$left = empty($_SESSION[corp_user])?addslashes(implode('', file("$L_thispath/default.html"))):addslashes(implode('', file("$L_thispath/success.html")));
//½âÎöÄ£°å
eval("\$left = \"$left\";");
?>
How do it go about solving this?