header("Content-type: image/png"); makes script run twice?
Pirata Nervo Offline
Member
***
Posts: 235
Joined: Jan 2008
Post: #9
RE: header("Content-type: image/png"); makes script run twice?
(06-24-2011 08:55 AM)ZiNgA BuRgA Wrote:  Very hard != impossible, and if it's application terminated (ie not by a user), it's a fair bit more probable than you think.

The problem is that your script is being called twice, not a double execution of the query.

Sorry for not noticing this. I know the script is being executed twice and the same thing happens with MyBB but since download count is not shown for image attachments, no one had noticed this before. The problem happens most likely because of the way Firefox handles inline images.
08-04-2011 07:31 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: header("Content-type: image/png"); makes script run twice? - Pirata Nervo - 08-04-2011 07:31 AM

 Standard Tools
Forum Jump: