I need to redirect my page to another, but I can't use the header
function, is there any other way to do it?
What a I need to do is something like this:
if (test){
---do something---
redirect
} else {
return false
}
Thanks
if (test){
---do something---
die("<script>location.href = 'http://www.google.com'</script>");
} else {
return false;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With