PHP “header (location)” inside IFRAME, to load in _top location?

前端 未结 8 1766
名媛妹妹
名媛妹妹 2020-12-03 10:20

I have a simple form which is inside IFRAME. When user click on SUBMIT, it redirects to a specific page on my server. The function I use for the redirect is



        
8条回答
  •  时光取名叫无心
    2020-12-03 10:44

    You can either link to the page using Break Out or use code

    
    

    You then use the following code in the header of the page with

    if(isset($_GET['Break'])) // 
        {
        $BreakFrame = true;
        $BreakToPage = "pagename.php";
    
        }
    
    
    
    
    
    
    
    
    

提交回复
热议问题