Posts Tagged ‘Source code’

Multi-User File Manager & Uploader with Progress Bar

FileChucker is an AJAX-based web application that lets you accept file uploads on your own website. It’s simple to install (just one file), packed with features, fully configurable, nice looking, and very handy for when you want to share files with anyone. And during uploads FileChucker shows a progress bar & table, so the user [...]

PHP Firewall Script 2009

PHP Firewall Script 2009

Do you worry about your site’s security? Has your site ever been hacked? Worry no more! FireWall Script is a PHP-based configurable firewall. Once installed, you can configure what mischievous things you want to be on the lookout for and let FireWall Script do the rest. With the logging functionality included, you can also go [...]

Php youtube grabber

Create a file index.php and upload it on your server. Run it for testing ). <html> <head> <title>YouTube Ripper</title> <style> body, a, a:link, a:visited, a:hover, td { font-family: verdana, sans-serif; font-size: 8pt; color: black; } a { font-weight: bold; } input { font-family: verdana, sans-serif; font-size: 8pt; border: black 2px solid; padding: 2px; } #vid [...]

Scraping websites with PHP cURL under proxy

Scraping websites with PHP cURL is damn easy. Just do it the right way – use a proxy. Here is a simple function that does the job. Simple PHP cURL scraper: &lt;?php function getPage($proxy, $url, $referer, $agent, $header, $timeout) {$ch = curl_init();   curl_setopt($ch, CURLOPT_URL, $url);   curl_setopt($ch, CURLOPT_HEADER, $header);   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);   [...]

Checking proxy script

Finally, the last part of the post. Get ready for some “serious” programming. Include whatismyip.php. Don’t forget to specify URL. Copy getPage function to proxychecker.php or include it as a file. Specify a time limit. Write getProxies() function. Write deleteProxy($proxy) function. Specify badvars.php URL. Specify sleep intervals. Test and fix proxychecker.php. You don’t need to [...]

IP address checker script

You need to know your IP address before checking anonymity. If you have only one server it’s not a problem. Hardcode and forget. But what if you have several servers? As I said before, automation is the king. Say thank you to people who cares about us. Grab URL(s) you like, extract IP and be [...]

PHP cURL proxy checker

Most of the time I use server-side PHP scripts, because desktop proxy checkers don’t provide much flexibility. You don’t want to check, export and upload a list of proxies every time you need them, do you? That’s why PHP cURL is the best choice for me. Automation is the king! So, how to check proxies [...]

PHP anonymity checker script

PHP class : socks 4, socks 5 and proxy lists validation (based on curl lib). Anonymity is one of my favourites’ interests. This simple PHP 5 class validates Socks4 , Socks5 and Proxy lists. Version: 0.2 &lt;?php// PHP anonymity checker // //   (c) Involutive 2008 http://www.involutive.com //   author: Paolo Ardoino &lt; paolo@involutive.com &gt; [...]

PHP Proxy Detector script source

I found this class looking for something else actually but I remembered I needed some while ago something similar and I never found one. I’m sure it will help a lot of developers who try to detect click frauds or something else. The class will scan the headers of the visitor which (in most cases [...]

Multiple random banners (images)

This script will randomly pick three images from a directory of any mumber of .jpg files. No image will be duplicated Put all your .jpg images in a single directory. You will need to modify the first line of the script to specify this path. The script is written to show three random images. You [...]