Jump to content

redirecting page without using HEADER(), is there another way?


bilis_money

Recommended Posts

i want to know or is there any other way to redirect a page without using a header().

I'm sick using header() it is not very flexible, i'm using header() in the middle of my codes and it always trew me a message error -->
[quote]Warning: Cannot modify header information - headers already sent by (output started at...[/quote]

yes, i know about the cause of this error it has white spaces and this should be put at the first and no white spaces before the header()...

any help from you guys is very appreciated thanks in advance.

hi High-Tek,

Do i need to call ob_clean() first before header(),
i tested it and it doesn't work, sorry but i'm new to this ob_* thing.
please can you show me a snippet codes to do this with the header().

thanks in advance.

-i'm confuse, i dunno which is the right one to use...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.