J'ai cette erreur:
Parse error: syntax error, unexpected ''</p></div>'' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /home/clansmgf/public_html/hub.php on line 92
Voici le code
Parse error: syntax error, unexpected ''</p></div>'' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /home/clansmgf/public_html/hub.php on line 92
Voici le code
Code:
{
@file_get_contents("http://clansmg.fr/boot.php?key=MaKey&host={$host}&port={$port}&time={$time}");
$insertLogSQL = $odb -> prepare("INSERT INTO `logs` VALUES(:user, :ip, :port, :time, UNIX_TIMESTAMP())");
$insertLogSQL -> execute(array(':user' => $_SESSION['username'], ':ip' => $host, ':port' => $port, ':time' => $time));
echo '<div class="nNote nSuccess hideit"><p><strong>SUCCESS: </strong>Attack has been sent to '.$host.':'.$port.' for '.$time.' seconds''</p></div>';
}