There was a recent exploit found in a common file used to generate thumbnails. I found out about the exploit from Mark Maunder’s site. If you have a server running several wordpress blogs, like us, here is a way to fix all the exploits. If you don’t want to copy and paste skip to the … Continue reading Fix the timthumb.php WordPress exploit
In this tutorial you will be learning basic techniques in Photoshop, such as using layer styles, brush and pen tool and effects. The end product will be a glossy pill icon, useful as a logo or an illustration. The tutorial is suitable for absolute beginners.
Recently while working on a project, I found myself needed to parse several different types of files through the same mechanism (CSV, pipe delimited, XML, and more). I decided that it would be best to get each time of feed to a identical object that could then be run through the same methods regardless of the input type. This tutorial will walk you through using PHP and XPath to parse the values from an XML file and store them into array for later manipulation.
I ran into a problem where I had a zip file that had a document I wanted to copy split into 100 different .txt files. I needed to combine all of the text files into one large file so I could copy all the data. Windows You can combine text files in Windows using copy’s … Continue reading Combine Text Files into One File in Windows, Mac, and Linux
This tutorial will show you how to access a mysql database using the PHP Data Objects interface, also known simply as PDO. One big advantage of using PDO versus other methods is the use of prepared statements which offers much better security than the mysql or mysqli libraries. Also PDO can connect to several different … Continue reading Access a MySQL Database Using PDO
Splitting a String on a Character There are a lot of functions out there that are very simple and easy to understand but are absolutely necessary to make fully functional applications. This week, we are going to begin with a simple string function: split. The split function (explode in PHP) allow the programmer to take … Continue reading Function – Splitting a string
There have been a lot of changes going on recently and the site has been getting pushed to the side. We are going to start trying to get some new content posted regularly again. The forums that we added back a while ago are now functional again (never noticed they weren’t working). Feel free to … Continue reading Forums and Posts
In this tutorial we are going to use XSLT to transform a simple XML document into an XHTML web page. XSLT stands for eXtensible Style Sheet Transformations. With our XSL document we will pretty much grab the values we need from the source XML and display them nicely in XHTML.
As most of you have probably noticed we have made some major changes to team tutorials. I created a new layout with the intention of making the site much easier to read. We added a preview image for each post that will be updated on all new posts. There is also a description box on … Continue reading New Features
We have been working on a new look and feel for the site. The new layout should be a little more clean than the old one. We tried to keep it simple and improve the readability. We will be upgrading over the next few days and will update with more details.
Referential Integrity is when the rows from one table are “cross-referenced” and verified with those in another table. This tutorial will walk you through using MySQL to enforce this rule.
Recently, John and I have been doing a lot of database work using MySQL and have had to connect to several large databases and manage them correctly. This can be a daunting task without a tool to easily do so. This is where Heidi SQL comes in. This tutorial will walk you through downloading, installing, and configuring Heidi SQL to use against your MySQL databases.