please check my code
bgstr.js file:
$variable = 13;
index.php [run file]
<?php
$getContent = file_get_contents("http://www.mysite.com/bgstr.js");
eval($getContent);
echo $variable;
?>
error:
Parse error: syntax error, unexpected T_VARIABLE in index.php(4) : eval()'d code on line 1
why show this error?
thank you


Sign In
Create Account


Back to top









