title: Can a GIF/JPEG file contain runnable PHP code?
body: <p>Testing a web application, I can upload GIF/JPEG files and I know there is a possible threat when including PHP Code properly in that GIF/Jpeg (because it is modified using <a href="http://php.net/imagecreatetruecolor" rel="nofollow noreferrer">imagecreatetruecolor</a> and <a href="http://php.net/imagejpeg" rel="nofollow noreferrer">imagejpeg</a>).</p>
  
  <p>I was looking for an existing GIF file containing a simple PHP code (like phpinfo or echo 'hello world') just to validate that the threat was concrete.</p>
  
  <p>What would be perfect is a specifically crafted GIF image containing PHP code in the middle OR in the palette color, but I was unsuccessful to find one.</p>