PHP Developers Network
http://forums.devnetwork.net/

imagepng behaviour
http://forums.devnetwork.net/viewtopic.php?f=40&t=110424
Page 1 of 1

Author:  Bob Kellock [ Sat Dec 19, 2009 7:05 am ]
Post subject:  imagepng behaviour


Author:  greyhoundcode [ Mon Jun 28, 2010 3:28 pm ]
Post subject:  Re: imagepng behaviour

In a nutshell, don't send anything before your headers.

When you uncomment the relevant line you are sending the PNG image first, headers second - that won't work. If you need to display the form before redirecting then it would be better to implement the redirect with JS.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/