I have a page with a login form in a file form.php, when I press ok it call the file post_form.php where it checks the inserted data. If data are ok, I must automatically open the file confirm.php, how I can do this?
            Asked
            
        
        
            Active
            
        
            Viewed 265 times
        
    3 Answers
0
            
            
        ob_clear(); //Make sure you've done ob_start() or not output anything to the browser    
header('Location: confirm.php');
exit;
 
    
    
        ʰᵈˑ
        
- 11,279
- 3
- 26
- 49
 
     
    