Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Php in a panel?

by SoulEater, Last updated on 9 years ago in Official Core Support - 6
Can anyone help me add PHP in a side panel? I tried everything I can think of but I keep receiving this same error: "Parse error: syntax error, unexpected T_DNUMBER in C:\xampp\htdocs\themes\templates\panels.php(75) : eval()'d code on line 4"
and how does your code look like? ...
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
$server = "";
$portg = "2000";
$portl = "2000";
$timeout = "5";

if ($server and $port and $timeout) {
$game = @fsockopen("$server", $portg, $errno, $errstr, $timeout);
$login = @fsockopen("$server", $portl, $errno, $errstr, $timeout);
if($game) { print'<tr><td>Server Status: </td><td><font color="#FF0000"><strong>Offline</strong></font></td></tr>'; }
else { print'<tr><td>Server Status: </td><td"><font color="#00FF00"><strong>Online</strong></td></tr>'; }
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.