Oh, dryson, how I missed you.
Gravity_Ray, E=mc^2 is an equation with only a limited applicability. The full equation looks something like:
E^2 = (mc^2)^2 + (pc)^2
Where p is the particle's momentum, which photons certainly have. This reduces for photons (which have no mass) to E=pc.
Einstein's famous E=mc^2, as you may be able to tell (if you remember your high school algebra!), is what that equation reduces to when p=0; that is, when an object is at rest. So mc^2 is a massive particle's rest energy, the energy it intrinsically has when it has no momentum.
E=mc^2 is also very much valid for moving non-relativistic particles - that is, particles moving at speeds much less than the speed of light, so they don't feel strong effects of Einstein's relativity. Photons, however, are pretty much by definition relativistic since they move at the speed of light. So E=mc^2 doesn't hold in the relativistic régime, and certainly not for photons!