Is there a function that send a new page to the browser

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bundy
Forum Newbie
Posts: 15
Joined: Mon Jun 04, 2007 7:04 pm

Is there a function that send a new page to the browser

Post by bundy »

Hi all

Are there any functions I can use to redirect the user's browser to a new page apart from using header function ?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

In PHP? Don't think so.

Maybe you should try JavaScript or meta redirection.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Just about all of them are going to be handled by headers though. Why do you not want to use header() (and please don't say because of the 'Headers already sent' messages).
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Everah wrote:(and please don't say because of the 'Headers already sent' messages).
(I think it's safe to assume that the error is, indeed, that. :P)
Post Reply