Monthly Archives: November 2007

Searching for fields in unknown MySQL tables

A friend emailed me weeks ago asking if there is a SQL SELECT statement to search for fields in a database if the table names are unknown. As far as I knew there wasn’t and suggested creating a script to … Continue reading

Posted in HOWTOs, MySQL, PHP | Comments Off

Hotlink Protection with Apache mod_rewrite and .htaccess

So you have people linking to files on your site and it’s eating up all your bandwidth. You want it to stop but you’re not sure how. If you’re using Apache for your web server, you can use .htaccess to … Continue reading

Posted in Apache, HOWTOs, Linux | Comments Off