Page 1 of 1

php headers

Posted: Thu Jan 20, 2011 8:37 am
by jose1
Hey guys,

I have a problem, i'm using ob_start to send multiples headers and it work but the problem is that my metada is not being sent, when i remove the ob_start it gets sent. Is there a way i can allow more info to be sent with ob_start? or should i use other methods to redirect to pages? i dont want to use javascript or meta http because they are not very reliable is there any other way?
Thanks for help.

Re: php headers

Posted: Thu Jan 20, 2011 10:30 am
by AbraCadaver
jose1 wrote:Hey guys,

I have a problem, i'm using ob_start to send multiples headers and it work but the problem is that my metada is not being sent, when i remove the ob_start it gets sent. Is there a way i can allow more info to be sent with ob_start? or should i use other methods to redirect to pages? i dont want to use javascript or meta http because they are not very reliable is there any other way?
Thanks for help.
Need code.

Re: php headers

Posted: Thu Jan 20, 2011 10:49 am
by brothaofdes
At the bottom of you php page that begins with the ob_start();, put ob_end_flush();

Re: php headers

Posted: Thu Jan 20, 2011 11:41 am
by jose1
Thanks a lot for reply, however, i tried it and still doesn't work. Don't know what i should do next

Re: php headers

Posted: Thu Jan 20, 2011 11:53 am
by brothaofdes
post your code (use the php button -^). We may see the issue if we can see the code.

Please remove any user information before submitting though.