damon2003
12-17-2003, 05:49 AM
hi,
I have a question about PHP redirection. I have a cancel button on my page. When pressed I want to run a script that will unregister some sessions and then redirect to a specific page.
I thought about this:
session_unregister('completeCustOrders');
header(location: http://)
the problem is doesnt the header(location: http://) has to be right at the top of the page. Are there any other ways to redirec to a page
I have a question about PHP redirection. I have a cancel button on my page. When pressed I want to run a script that will unregister some sessions and then redirect to a specific page.
I thought about this:
session_unregister('completeCustOrders');
header(location: http://)
the problem is doesnt the header(location: http://) has to be right at the top of the page. Are there any other ways to redirec to a page