beste ,
ik zoek iemand die al-pachino source ( crime game ) werkend krijgt.
Kan iemand mij hiermee helpen ,
ik krijg steeds HTTP ERROR 500 . en alles is goed ingevuld
beste ,
ik zoek iemand die al-pachino source ( crime game ) werkend krijgt.
Kan iemand mij hiermee helpen ,
ik krijg steeds HTTP ERROR 500 . en alles is goed ingevuld
thomas ja hij is van php , waar moet ik dat dan plaatsen ?
<?php /* ------------------------- */
error_reporting(E_PARSE);***"))) {
print <<<ENDHTML
<html>
<head>
<title>Al Pacino</title>
<link rel="stylesheet" type="text/css" href="style.css">
<style type="text/css">
body {
font-family: Tahoma;
font-size: 12px;
color: black;
background-color: #e6e6e6;
scrollbar-face-color: #404040;
scrollbar-shadow-color: #202020;
scrollbar-highlight-color: #808080;
scrollbar-3dlight-color: #808080;
scrollbar-darkshadow-color: #202020;
scrollbar-track-color: #C0C0C0;
scrollbar-arrow-color: #C0C0C0;
}
a:link{ color: #000000; font-family: Tahoma; font-size: 12px; text-decoration: none; }
a:visited{ color: #000000; font-family: Tahoma; font-size: 12px; text-decoration: none; }
a:active{ color: #000000; font-family: Tahoma; font-size: 12px; text-decoration: none; }
a:hover{ color: #006688; font-family: Tahoma; font-size: 12px; text-decoration: none; }
textarea{ border: 1px solid #000000; background: #54788B; font-size: 11px; font-family: Tahoma; color: black;}
input{ border: 1px solid #000000; background: #54788B; font-size: 11px; font-family: Tahoma; color: black;}
input.normalRadio { border: 1px solid #000000; background: #000000; font-family: Tahoma; color: black;}
select { border: 1px solid #000000; background: #999999; font-size: 11px; font-family: Tahoma; color: black;}
table{ color: #000000; font-family: Tahoma; font-size: 12px; border-color: #000000; }
table.main{ background: #0C0C0C; color: #000000; font-family: Tahoma; font-size: 12px; border-color: #000000;}
table.click{ background: #4E6F81; color: #000000; font-family: Tahoma; font-size: 12px; border: 1px solid #000000; }
td.subTitle{ background: url('images/subtitle.jpg'); #D0D0D0; color: #000000; background-image: url(http://www.al-pacino.nl/images/tabelheader.gif); font-family: verdana; font-size: 11px; font-weight: bold; letter-spacing: 5px; padding: 1px; text-align: center; border: 1px solid black }
td.mainTxt{ border: 1px solid #000000; background: #A8A8A8; font-family: verdana; font-size: 12px; padding-left: 5px; }
table.menu{ border: 1px solid #000000; color: #FFFFFF; font-family: Tahoma; font-size: 12px; }
td.menuTitle{ background: url('images/menu.jpg'); color: #FFFFFF; font-family: Tahoma; font-size: 12px; font-weight: bold; letter-spacing: 5px; padding: 1px }
td.menuLink{ background: #A8A8A8; color: #000000; font-family: Tahoma; font-size: 12px; }
a.menu:link{ color: #D4D4D4; font-family: Tahoma; font-size: 11px; text-decoration: none; cursor: default; width: 120; }
a.menu:visited{ color: #D4D4D4; font-family: Tahoma; font-size: 11px; text-decoration: none; cursor: default; width: 120; }
a.menu:active{ color: #D4D4D4; font-family: Tahoma; font-size: 11px; text-decoration: none; cursor: default; width: 120; }
a.menu:hover{ color: #D4D4D4; font-family: Tahoma; font-size: 11px; text-decoration: none; cursor: default; width: 120; }
body{ scrollbar-base-color: #e6e6e6;
scrollbar-face-color: #404040;
scrollbar-shadow-color: #202020;
scrollbar-highlight-color: #808080;
scrollbar-3dlight-color: #808080;
scrollbar-darkshadow-color: #202020;
scrollbar-track-color: #C0C0C0;
scrollbar-arrow-color: #C0C0C0; }
</style>
<META HTTP-EQUIV='refresh' CONTENT='60'; URL='$PHP_SELF'>
</head>
<table width=100%>
<tr>
<td class="subTitle"><b>Je kan zo verder ranken</b></td>
</tr>
<tr><td> </td></tr>
<tr>
<td class="mainTxt">
Geachte speler,<br>
We zijn even wat veranderen aan het spel.<br>
Dit duurt heel even, we zijn zo weer terug.<br>
Lees het <b>nieuws</b> ook even ;)<br><br>
Tot zo!
</td></tr>
</table>
</body>
</html>
ENDHTML;
exit;
}
session_start();
if(isset($_SESSION['login'])) {
$dbres= mysql_query("SELECT *,UNIX_TIMESTAMP(`pc`) AS `pc`,UNIX_TIMESTAMP(`transport`) AS `transport`,UNIX_TIMESTAMP(`bc`) AS `bc`,UNIX_TIMESTAMP(`slaap`) AS `slaap`,UNIX_TIMESTAMP(`kc`) AS `kc`,UNIX_TIMESTAMP(`start`) AS `start`,UNIX_TIMESTAMP(`crime`) AS `crime`,UNIX_TIMESTAMP(`ac`) AS `ac` FROM `users` WHERE `login`='{$_SESSION['login']}'");
$data= mysql_fetch_object($dbres);
$blata = mysql_num_rows($dbres);
include("rangen.php");
include("tijden.php");
include("rangmsg.php");
}
Kan je je code even tussen de code tags zetten? (het icoontje met </>)
Je moet het vervangen met de error_reporting regel die nu in het begin van het bestand staat
Welke PHP versie draai je op je host/thuisserver? Waarschijnlijk hoger dan 5.4, deze crime game komt nog uit de tijd van PHP4 en is dus niet zomaar even te draaien. Daarvoor zijn teveel aanpassingen nodig om de crime werkend en veilig te krijgen. Kan er beter vanaf 0 begonnen worden met het bouwen!
Mogelijk wil je een keer hier kijken:
https://github.com/dees040/osFighter
Dit is een open-source crime game die gemaakt is door iemand hier op de site:
Zeer goede code en vrij recent.
Ik zoek nog altijd iemand die al-pachino werkend krijgt ,
of iets geeft met zelfde layout en ingame script
Je mag mij aanspreken via Skype, ik kan je eventueel verder helpen door eens te kijken naar het probleem.
Skype gegevens vindt je op mijn profiel.
Heb je nog geen account? Registreer je nu en word deel van onze community!