Archive for June, 2010

 

URL related simple MySQL functions

Below you can find simple MySQL code snippets to extract various information from URLs stored in a database table.

PHP Class: How to read ID3v2 tags from mp3 files

To read Id3 v2 tags from any given mp3 file you can use the attached PHP class. Usage is very simple:

PHP Class: How to read ID3 v1 tag from mp3 files

To read Id3 v1 tag from any given mp3 file you can use the attached PHP class.

PHP Class: fast find text (string) in files (recursively)

In this post I will present you a PHP class to find a specified text string in files. Files to scan can be grouped in directories and subdirectories because the class uses recursion.
You can set file types to include or exclude from search. For example you can skip all images files.

How to detect a proxy in PHP

Just a simple code snippet which can tell if visitor is using Proxy. Please not that this code might fail to detect anonymous proxies.

How to dump MySQL database and split into 10 MB files on the fly

Recently I had to dump a database that was too big to dump with with phpMyAdmin and I couldn’t just use mysqldump tool from command line because there was a 10 MB file size limit on the server.

 
TopOfBlogs Web Development & Design Blogs