10 July 2012 Expression Régulière: Vérifier la longuer d’un mot de passe String <html> <head> <title>Expression régulière</title> </head> <body> <?php $password = "bac200"; if (! p php pacificateur
23 June 2012 Utilisation de ‘chdir( )’ pour lister le contenu d’un répertoire String <html> <head> <title>String</title> </head> <body> <?php $mon_rep = "String"; chdir($mon_ php pacificateur
28 May 2012 Expression Régulière: Découper un URL String <?php $url = "http://www.exemple.com"; morceaux = ereg("^(http://www).([[:alnum:]]+).([[:aln php pacificateur
22 November 2011 Formater une chaîne de caractère avec ‘addslashes(string chaine)’.Efficace pour les caractère spéciaux(apostrophe) String <html> <head> <title>fonction String</title> </head> <body> <?php $string = "J'aime le PHP avec php pacificateur
22 November 2011 Rechercher et remplacer avec la fonction ‘ereg_replace(string pattern,string replace, string string) ‘ String <html> <head> <title>Expression régulière</title> </head> <body> <?php $chaine = "Je dis non"; $re php pacificateur
22 November 2011 Expression régulière: trouver le texte entre deux balises HTML String <html> <head> <title>Expression régulière</title> </head> <body> <?php $texte = "Test: <strong>Bien php pacificateur
22 November 2011 Expression régulière: Afficher le tableau de résultat d’un ‘match’ String <html> <head> <title>Expression régulière</title> </head> <body> <?php $email = "contact@mesexemple php pacificateur
22 November 2011 Expression régulière: Exemple d’utilisation de ‘ereg( )’ pour analyser une chaîne String <html> <head> <title>Expression régulière</title> </head> <body> <?php $email = 'test@demo.fr php pacificateur