Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<p align="center">
Noch<br><b>
<script>
var eventdate = new Date("January 2, 2007 00:00:00 GMT+1");
d=new Date();
count=Math.floor((eventdate.getTime()-d.getTime())/1000);
count=Math.floor(count/(60*60*24));
document.write(count);
</script>
</b>
<br>Tage
</p>
<html>
<body>
<p align="center">
Noch<br><b>
<script>
<?php $month = "January 2, 2007 00:00:00"; ?>
var eventdate = new Date("<?php echo $month;?> GMT+1");
d=new Date();
count=Math.floor((eventdate.getTime()-d.getTime())/1000);
count=Math.floor(count/(60*60*24));
document.write(count);
</script>
</b>
<br>Tage!
</p>
</body>
</html>
<?php include($_SERVER['PHP_SELF']); ?>
wenn du in PHP Variablen allen Skripten zur Verfügung stellen willst, dann musste Sessions verwenden.
$a = 10;
require_once("script1");
echo $a;
<?php // Dies ist die test.php
$a = 1;
include('test.php');
echo $a;
?>