Position actuelle: Accueil> Catégories de fonctions> filetype

filetype

Obtenir le type de fichier
Nom:filetype
Catégorie:Système de fichiers
Langage de programmation:php
Description en une ligne:Renvoie le type de fichier.

Exemple

Exemple 1

 <span class="token php language-php"><span class="token delimiter important"><? Php</span>
<span class="token keyword">Echo</span> <span class="token function">FileType</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Sortir:

 déposer

Exemple 2

 <span class="token php language-php"><span class="token delimiter important"><? Php</span>
<span class="token keyword">Echo</span> <span class="token function">FileType</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"images"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Sortir:

 diron
Fonctions similaires
Articles populaires