header()



I have software catalog site.
If I want to download some software I press button with link on page and
goto
to php script which increment download value in database and then I want
to redirect to file but all headers already outputed to browser and I can't
use
header() function. Therefore I put to script meta "refresh" with URL to
second script which have header() function with address to my file and file
successfull downloading.
I write meta "refresh" not to head of first script but to begin of file.
Is was any error in some browser if I put meta not to head of html?
For me problem put meta "refresh" to head of html because head
outputed by another script.

Sorry for bad english :-)


.


Quantcast