Im having this really irritating problem where , im trying to redirect to a page but im getting the error
'Warning: Cannot modify header information - headers already sent by (output started at /home/blah/blah/blah/) in /home/blah/blah/blah/ on line 23
'
I have login.php which contains all the PHP (When the user logs in it creates a session and tries to redirect to interface.php which contains functions.) and login_main.php which has the HTML and some other bits and bobs. The form in the html usesI cant seem to find a way around it. Whenever i try to use header( 'ocation: page.php'); i get that error.Code:<form action="login.php" method="post">
Its probably a silly mistake but. Advice?






Reply With Quote



