Accueil du site > Codes > PHP

PHP

Dernier ajout : 15 janvier 2009.

Articles de cette rubrique

  • Upload de fichier

    15 janvier 2009, par arnaud

    require valid-user Et la création du .htpasswd : htpasswd -c .htpasswd utilisateur Écrit par Arnaud Cordier arnaud [AT] arnaudcordier.org Distribué sous licence GPL */ // LES EXTENTIONS INTERDITES $noext = array(’html’,’htm’,’php’,’php3’,’php4’,’php5’,) ; // UPLOADMETER if ( ( $id = $_GET[’id’] ) !== NULL ) $info = uploadprogress_get_info($id) ; if ($info) $pc = intval($info[’bytes_uploaded’] / $info[’bytes_total’] * 100) ; $uploaded = intval($info[’bytes_uploaded’]/1024) ; $total = (...)

SPIP | | Plan du site | Suivre la vie du site RSS 2.0 | Site hébergé chez Mutins