| name | language | licence |
|---|---|---|
| PHP : Boucle ecriture dans un fichier XML | PHP | Other |
| PHP : Detection ie6 et ie7 en php | PHP | Other |
| PHP : class mail | PHP | Other |
| PHP : date en php | Other | Other |
| PHP/JS : Expressions régulière | PHP | Other |
| PHP/JS : Utilisation de la classe Ajax_upload | Other | Other |
| PHP/JS : ternaire | PHP | Other |
| PHP/MYSQL : Chaines de caractères echapper avant insertion en base | PHP | Other |
< 1 2 3 4 5 >
language: PHP
licence: Other
PHP : Detection ie6 et ie7 en php
options: view full snippet • send to code collector
if (ereg("MSIE 6.0", $_SERVER["HTTP_USER_AGENT"])) //pour détecter si le navigateur est IE6
{
//ton code
}
elseif (ereg("MSIE 7.0", $_SERVER["HTTP_USER_AGENT"])) //pour détecter si le navigateur est IE7
{
//ton code
}
else //les autres navigateurs
{
//ton code
}



library
html (48)