June 4, 2012 La plus petite valeur proche de n avec ‘floor ( float n )’ <html> <head> <title> Fonction Mathématique</title> </head> <body> <?php $nombre user
June 3, 2012 Utilisation d’un tableau intégré dans un autre <html> <head> <title>Tableau</title> </head> <body> <?php $arr = array( 1 => "abc", "abc user
June 2, 2012 convertir un décimal à sa répresentation octale(base-8) <html> <head> <title> Fonction Mathématique</title> </head> <body> <?php print decoct(19); // " user
June 1, 2012 Charger le fichier XML selon l’API disponible <?php $classes = get_declared_classes(); if( in_array('SimpleXMLElement', $classes) ) { $xmld user
May 30, 2012 Convertir un nombre décimal à un nombre hexadécimal <html> <head> <title> Fonction Mathématique</title> </head> <body> <?php print dechex(27); / user
May 29, 2012 PHP: Terminer une session <? session_start(); if (isset($_COOKIE[nom_session()])) { setcookie(nom_session(), '', time()- user
May 29, 2012 Lister le contenu du répertoire courant <?php // Le répertoire courant $dI = opendir('./'); while ($fichier = readdir($dI)) { user
May 28, 2012 Expression Régulière: Découper un URL <?php $url = "http://www.exemple.com"; morceaux = ereg("^(http://www).([[:alnum:]]+).([[:aln user
May 27, 2012 Ajouter l’ID de la session dans la table des notes d’apache apache request notes” “ <?php apache_note('session_id', session_id()); ?> user
May 26, 2012 Utilisation de calendrier français à l’aide de contsant ‘CAL_FRENCH’ <?php $jd = cal_to_jd(CAL_FRENCH, 3, 1, 11); $cal_francais = cal_from_jd($jd, CAL_FRENCH); print_ user