| name | language | licence |
|---|---|---|
| PHP : isset checkbox avant de le mettre dans une variable | Other | Other |
| PHP : forcer telechargement d'un fichier | PHP | Other |
| PHP : date en php | Other | Other |
| PHP : class mail | PHP | Other |
| PHP : expressions régulière | PHP | Other |
| PHP : detection ie6 et ie7 en php | PHP | Other |
| PHP : Boucle ecriture dans un fichier XML | PHP | Other |
| PHP : forcer telechargement d'un fichier | PHP | Other |
< 1 2 3 4 5 >
language: PHP
licence: Other
PHP : expressions régulière
options: view full snippet • send to code collector
<?php
$EXP_num = "^[0-9]+$";
$EXP_num_fixe = "^0262([0-9]){6}$";
$EXP_num_portable = "^069(2|3)([0-9]){6}$";
$EXP_cp = "^974([0-9]){2}$";
$EXP_mail = "^[a-z0-9._-].+@([a-z.-])+([.])([a-z]){2,4}$";
$EXP_nom = "^[ a-zA-ZéçèàêëîïôöûüâäÉÀÈËËÏÎÖÔÛÜÄÂ'-]+$";
$EXP_date = "^[0-9]{2}/[0-9]{2}/[0-9]{4}$";
$EXP_url = "^http://";
//exemple d'utilisation
if(!ereg($EXP_nom, "PAYET Pierre Alexandre")){ $error = true; }



library
html (48)