how to create this script

Discussion in 'PHP' started by Devprakash, Oct 29, 2006.

  1. #1
    Devprakash, Oct 29, 2006 IP
  2. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    pass the external link to a php page and display the content in iframe ?
     
    maiahost, Oct 29, 2006 IP
  3. Devprakash

    Devprakash Well-Known Member

    Messages:
    338
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    120
    #3
    <?
    foreach ($_GET as $key => $value) {
    $site .= $key."=".$value."&";
    }
    $site = substr($site, 4, -1);
    ?>
    <HTML>
    <HEAD>
    <TITLE>Re-directing...</TITLE>

    <meta http-equiv="refresh" content="4; URL=<? echo $site; ?>">


    </HEAD>
    <body>
    <center>
    </span></font><br></font><br>





    <br>
    <div style="text-align: center;">
    <center><font
    style="color: rgb(204, 0, 0); font-weight: bold;" size="-1"><span
    style="font-family: Arial;"><br>
    <div style="text-align: center;">
    <center><font
    style="color: rgb(204, 0, 0); font-weight: bold;" size="-1"><span
    style="font-family: Arial;">You clicked on a external Link which is forwarding to external Webcontent.<br>
    <br>
    The area of responsibility of site name does not extend to other Webcontent.<br>
    <br>
    <i> <? echo $site; ?></i>
    </span></font><br></font>
    </center>

    </body>
    </HTML>

    how to change this script in like below.
    http://www.realbollywood.com/extern...ndian celebrities(f)/katrina kaif/kat60a.jpg
     
    Devprakash, Oct 29, 2006 IP