Question : iframed page to finish without being in an iframe


-----
small.php
-----

    if(isset($_POST['submit']))
{
    $name = $_POST['name'];
    $_SESSION['name']= $name;
    header("Location: end.php");
}


---------
main.php
--------
<iframe height="400px" width="400px" frameborder="0" scrolling="yes" src="small.php"></iframe>          






main.php has an iframe that shows small.php
small.php redirects to end.php in main.php


I want the last page to be end.php

I dont want end.php to be in an iframe


I want to end the iframe

Answer : iframed page to finish without being in an iframe

Why don't you use grep itself??
(-A tells grep to print 5 lines after the context is found)
1:
grep -A5 "exception" detail.log
Random Solutions  
 
programming4us programming4us