PHP: Quick Un-Zipper

<?php /** * Income Pitbull – Quick UnZipper * Place this in the same directory of the zip file. Then go to the file in your browser, enter the file name in the textbox, and hit “Unzip”. * For security reasons, this only is allowed to run inside it’s own current directory. * It is … Devamını oku

A Simple Server-to-Server File Transfer Script (PHP)

<?php set_time_limit(0); //Unlimited max execution time   $path = ‘newfile.zip’; $url = ‘http://example.com/oldfile.zip’; $newfname = $path; echo ‘Starting Download!<br>’; $file = fopen ($url, “rb”); if($file) { $newf = fopen ($newfname, “wb”); if($newf) while(!feof($file)) { fwrite($newf, fread($file, 1024 * 8 ), 1024 * 8 ); echo ‘1 MB File Chunk Written!<br>’; } } if($file) { fclose($file); … Devamını oku

PHP: Recursively Zipping Files & Folders to .zip File

https://gist.github.com/toddsby/f98d82314259ec5483d8 <?php /* * PHP: Recursively Backup Files & Folders to ZIP-File * (c) 2012-2014: Marvin Menzerath – http://menzerath.eu * contribution: Drew Toddsby */ // Make sure the script can handle large folders/files ini_set(‘max_execution_time’, 600); ini_set(‘memory_limit’,’1024M’); // Start the backup! zipData(‘/path/to/folder’, ‘/path/to/backup.zip’); echo ‘Finished.’; // Here the magic happens 🙂 function zipData($source, $destination) { if … Devamını oku

;

Uzay; uzay içindir, sanat; sanat için

Ben senin içinim, sen benim için

Her anlamda.

Ve ben senin içinim.

 

Creating a WordPress Admin Options Page

I do not like the WordPress Settings API. This tools is very useful for creating WordPress admin settings page with options. You can insert a text, textarea, radio group, checkbox and more fields in your form with this tool. Plugin/theme name: your_theme_or_plugin_name Plugin prefix: your_prefix (Choose a prefix for the code. E.g. plugin name: WP … Devamını oku

[PHP] How to convert array to SimpleXML?

Question: How can I convert an ARRAY to a SimpleXML object in PHP? This code will convert array of any depth to xml document and works under php 5.2 Array ( [‘total_stud’]=> 500 [0] => Array ( [student] => Array ( [id] => 1 [name] => abc [address] => Array ( [city]=>Pune [zip]=>411006 ) ) … Devamını oku

Redirect Detective: Yeniden yönlendirme izleyicisi

Redirect Detective sitesi bir yönlendirme olduğunda bunun hangi yolu izlediğini size gösteren basit güzel bir uygulama yapmış. Redirect Detective is a free redirect checker that allows you to see the complete path a redirected URL goes through. Ne işe yarar? Affiliate linklerinizi kontrol edebilirsiniz Site taşıma sonrası yönlendirmelerin düzgün çalışmasını kontrol edebilirsinizBir Bir bağlantının zararlı … Devamını oku

Kamp Malzeme Listesi

Kampa gidecekler için bir malzeme listesi faydalı olabilir. Kamp Malzeme Listesi: * Kamp Çantası – giysi, çorap, gözlük vs * Çadır * Mat + Uyku tulumu * Kamp Bıçağı + çakı * Kafa Feneri + pil (+ yedek pil) * İlk yardım seti: oksijenli su, fucidin krem (antibiyotikli), yara bandı, sargı bezi, ağrı kesici ve diğer … Devamını oku