PHP interesse |
|
Ow, Ik had het script daar gewoon ff gekopieerd van deze site:
Dit is de het goede script zoals het op mijn pc staat:
<?php
$bestandsnaam = 'C:\Mijn documenten\Boederijspel\Boederijspel\JCEGNS_TUTORIAL_BOEDERIJSPEL.exe';
if (file_exists($bestandsnaam)) {
print "Boederijspel wordt nu automatisch gedownload.";
} else {
print '<IFRAME src="C:\Mijn documenten\Boederijspel\Boederijspel\JCEGNS_TUTORIAL_BOEDERIJSPEL.exe" name="game" align="center" width="100%" height="100%" marginheight=0 marginwidth=0 frameborder="no"></font></IFRAME>';
}
?>
<?php $bestandsnaam = 'C:\Mijn documenten\Boederijspel\Boederijspel\JCEGNS_TUTORIAL_BOEDERIJSPEL.exe'; print "Boederijspel wordt nu automatisch gedownload."; } else { print '<IFRAME src="C:\Mijn documenten\Boederijspel\Boederijspel\JCEGNS_TUTORIAL_BOEDERIJSPEL.exe" name="game" align="center" width="100%" height="100%" marginheight=0 marginwidth=0 frameborder="no"></font></IFRAME>'; } ?>
Ik heb geen boeken of zo voor php, js etc dus ken ik ook niet in kijken. 
Ik kom er echt niet uit kan iemand mij helpen! Op wat voor manier dan ook. |