php redirection (alternatives to header)

A

Anonymous

Guest
How many ways to redirect towards (for example)

saveemail.php?check=$check&email=$email

considering that on my enviroment header function
is not working ( I receive headers already sent error ) ?

Is there any php alternative to header function ?

Thanks
Leon
 
you can "redirect" with:

- a header
- a meta-tag
- a normal page with a link that user has to click

considering that on my enviroment header function
is not working ( I receive headers already sent error ) ?
You mean you can't use the header-function because output has allready been sent to the user?

You must sent headers before any other data (content) is sent to the user. This can be done by placing the function header before the content (make sure "<?php" is the FIRST thing in your file) or by using the functions ob_start and ob_flush. Read the manual on more details for that.

Greetz Daan
 
Hello

header don't work because I am building a cpanel skin (darkorb) .
On this cpanel php enviroment header does not work :( .
Using meta is not quite safe to pass variables .


thanks however .
 
annyphp said:
Hi, guys
You may use free php redirection script to meet your demands!



there is also an intersting articles about redirect..
this will help you to understand redirect page easily..
http://revolutionary-technologies.com/blog/
 
Back
Top