wget, unzip and delete a File per Shell via PHP
<?php $url = “http://www.url.net/file.zip”; $file = “file.zip”; $esc = escapeshellarg($url); exec(“wget “ . $esc); //use ur extension… Read More »wget, unzip and delete a File per Shell via PHP
<?php $url = “http://www.url.net/file.zip”; $file = “file.zip”; $esc = escapeshellarg($url); exec(“wget “ . $esc); //use ur extension… Read More »wget, unzip and delete a File per Shell via PHP
Note Estos son los códigos para las paginas de las alianzas de OGame que funcionan con la nueva versión 0.78c Revisar cada nueva actualización. [font=textstyle]… Read More »Codigos de alianza OGame
#form.cleaned_data[‘videoPath’] = C:Apacheuploadsvideosvideo_test.flv path = form.cleaned_data[‘videoPath’].replace(“\”,”/“) vName = ”.join(path.split(“/“)[-1:]) #result = ‘video_test.flv’
if (isset($_SERVER[‘REMOTE_ADDR’])) die(‘Permission denied.’); Note it’s also possibl with a .htaccess file and “deny from all ” in that file
#someElement { background: red; /* modern browsers */ *background: green; /* IE 7 and below */ _background: yellow; /* IE6 exclusively */… Read More »CSS hacks for IE6, IE7
/* À copier dans userChrome.css */ /* === Barre de menu === */ /* Règle la hauteur de la barre */ #toolbar-menubar { … Read More »Modifier l’apparence de Firefox
SELECT * FROM `table` WHERE BINARY `COLUMN` = ‘value’ Note binary
<?php if ( !strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Gecko’) ) { ?> <!– Firefox dışında ki tarayıcılarda göstermek istediğiniz kodları buraya yerleştirin –> <?php } ?> Note mesela adsense’nin… Read More »Firefox tarayıcısı dışında bir tarayıcıda istediğini gösterme
#L’appel à iconv n’est nécessaire que si votre système utilise utf8 comme jeu de caractères par défaut (ce qui devient de plus en plus courant)… Read More »Récupérer l’adresse ip publique (vue depuis internet)
$start = microtime(TRUE); // Code PHP à bencher for ($i = 0; $i < 10000; $i++) { isset($array[‘id’]); } echo number_format(microtime(TRUE) – $start,… Read More »Calculer le temps d’exécution d’un code PHP