PHP SOCKS4 Interface

PHP SOCKS4 Interface

SOCKS was originally developed by David Koblas and subsequently modified and extended by me to its current running version — version 4. It is a protocol that relays TCP sessions at a firewall host to allow application users transparent access across the firewall. Because the protocol is independent of application protocols, it can be (and […]

Read full story Comments { 1 }

MD5 Encrypting Password

The MD5 Message-Digest Algorithm is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value. Specified in RFC 1321, MD5 has been employed in a wide variety of security applications, and is also commonly used to check data integrity. MD5 was designed by Ron Rivest in 1991 to replace an earlier hash […]

Read full story Comments { 1 }
PHP: 4shared.com API wrapper

PHP: 4shared.com API wrapper

1. Fetch File Information There are two formats of 4shared.com’s link download: Format 1: like: http://www.4shared.com/file/253231421/73f7da19(/GoodFellas.html)? http://www.4shared.com/file/246032259/f70f9982(/_online.html)? Format 2: like: http://www.4shared.com/video/ABBPbvS8(/Divided_Heart.html)? ()? meaning yes or no step 1 using regular expression to detect format of link: with format 1, fileID is 253231421 or 246032259 with format 2, we use API’s function: decodeLink to find fileID […]

Read full story Comments { 0 }

Getting data without risking death with PHP, CURL

Introduction PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this […]

Read full story Comments { 0 }