Execute jpg images as if they were PHP scripts.

The attacker can now upload a file with a jpg extension, which contains PHP code which can be used to execute a command on the system.
Merge pull request #1 from snipe/master

Execute jpg images as if they were PHP scripts.