Hello-
did you determine a solution for your problem? I have the same situation - a form which submits to itself with $php_self to do form vield verifications and then mail the form contents via email to a specified email address, THEN forward to a thank you page but keep getting the "headers already sent..." error msg-
If you have a solution, I'd love to hear what it is- thanks.
Piyush wrote:
hi all,
i am writing an script which calls it self using $PHP_SELF variable, it checks for the possible error and displays error messages on the same page but now the problem is that i dont know how to forward it to next page ie if all the conditions are satisfied the script should terminate itself and call next page.
i tried using header(Location:urlname) but it does not work. plz can any one help about it.
Regards
Piyush