<?php $TIme = Date("l F d, Y, H:i"); print($TIme); $IDuser = getenv("REMOTE_USER"); $IPAddr = getenv("REMOTE_ADDR"); $NAVIgateur = getenv("HTTP_USER_AGENT"); echo (" - Hello $IDuser <br> votre adresse IP est : $IPAddr <br> votre navigateur est : $NAVIgateur<br>"); ?> <?php $TIme = Date("l F d, Y, H:i"); print($TIme); phpinfo(); ?>
<?php srand(date("s")); $pif = rand() % 5; $txt[]="The roots of education are bitter, but the fruit is sweet. -- Aristotle "; $txt[]="God prefers spiritual fruit, not religious nuts... -- Anonyme "; $txt[]="Never lose a holy curiosity. -- Albert Einstein "; $txt[]="If I have seen further, it is by standing on the shoulders of giants. -- Isaac Newton "; $txt[]=" J'entends et j'oublie. Je vois et je me souviens. Je fais et je comprends. -- Confucius "; echo $txt[$pif]; ?>