php - need to redirect url without using the function header -
i need redirect page another, can't use header
function, there other way it?
what need 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; }
Comments
Post a Comment