I am wondering how to user PHP header function in form and grids of ScriptCase application. I have database with blob data type and provided with type of file stored in. I need to change header of one field on the fly say for image png files header(‘content-type: images/png’); I nave to use. But my application is giving me an error
Error Cannot modify header information - headers already sent by (output started at /opt/nm/v6/www/scriptcase/prod/lib/php/nm_trata_saida.php:52)
I googled this error, most of people telling to create new PHP file or include some function at beginning of script file, which are impossible in SC application AFAIK. How can we get rid of this problem. Thanks.