deep.php
À propos du fichier
- Type de fichier
- Fichier PHP de 1 Ko (text/html)
- Confidentialité
- Fichier public, envoyé le 30 mars 2017 à 08:17, depuis l'adresse IP 193.50.x.x (France)
- Sécurité
- Ne contient aucun Virus ou Malware connus - Dernière vérification: 23 heures
- Statistiques
- La présente page de téléchargement a été vue 1008 fois depuis l'envoi du fichier
- Page de téléchargement
-
Aperçu du fichier
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans nom</title>
</head>
<body>
Veuillez entrer une date :
</br>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']?>">
jour:
<input type="text" name="jour" />
<form method="post" action="<?php echo $_SERVER['PHP_SELF']?>">
mois :
<input type="text" name="mois" />
<form method="post" action="<?php echo $_SERVER['PHP_SELF']?>">
année :
<input type="text" name="année" />
<input type="submit" name="ok" />
</form>
<?php
if (isset($_POST['ok']) && !empty($_POST['jour'])) {
if (!empty($_POST['mois']))
{
if (!empty( $_POST['année']) && (checkdate ((int)$_POST['mois'],(int)$_POST['jour'],(int)$_POST['année']))){
echo $_POST['jour'].'/'.$_POST['mois'].'/'.$_POST['année'];
$time= time();
$datetime=mktime(0,0,0,(int)$_POST['mois'],(int)$_POST['jour'],(int)$_POST['année']);
echo ' '.(($time-$datetime)/86400); }
}
}
?>
</body>
</html>
Partager le fichier deep.php sur le Web et les réseaux sociaux:
Télécharger le fichier deep.php