little problem! I have a PHP file entry form. I used javascript validation for the form. In a successful login scenario, I redirect the user to my home page.
I used header("Location:index.php") .
I know that the header should be before any output should be sent to the browser. My question is: is there any walk to do this redirect?
source share