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.
php headers
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: php headers
Need code.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.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
-
brothaofdes
- Forum Newbie
- Posts: 21
- Joined: Thu Jan 20, 2011 10:05 am
Re: php headers
At the bottom of you php page that begins with the ob_start();, put ob_end_flush();
Re: php headers
Thanks a lot for reply, however, i tried it and still doesn't work. Don't know what i should do next
-
brothaofdes
- Forum Newbie
- Posts: 21
- Joined: Thu Jan 20, 2011 10:05 am
Re: php headers
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.
Please remove any user information before submitting though.