Results 1 to 3 of 3

Thread: Adding frames to outgoing links

  1. #1
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Adding frames to outgoing links

    Hi!
    I'm interested in adding frames to links that point to other pages.
    I found several ways to do this, but with ImageFap.com they didn't worked. I'm bulding a gallery, and since I can't afford a VPS or Dedicated, the bandwith will never be eneogh, so i choose a free image host. The problem is that if it is displayed a site with an Iframe or Frame at the top, the imagefap automatically deletes It.
    I was wondering how does usercash do to have it anyway, i think it's by a Javascript script, if anyone can help me i would be very thankfull. (I have none experience with JS)
    Thanks!

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    i'm not sure how their scripts get around it... but... if they do, I don't see how yours would stop that.

    do you have a link?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    PHP Code:
    <?
    include("config.php");
    foreach (
    $_GET as $key => $value) { 
        
    $site .= $key."=".$value."&";
    }
    $site substr($site4, -1);  // returns "http://www.cj-design.com" without &out and all variables intact
    ?>
    <HTML>
    <HEAD>
    <TITLE><? echo $website?> Link Out - powered by CJ-Design.com</TITLE>
    </HEAD>
    <FRAMESET Rows="25,*" BORDER="0">
        <FRAME MARGINHEIGHT="0" MARGINWIDTH="0" SRC="top.php?out=<? echo $site?>" SCROLLING="No" NORESIZE NAME="top" BORDER="0">
        <FRAME MARGINHEIGHT="0" MARGINWIDTH="0" SRC="<? echo $site?>" SCROLLING="AUTO" NORESIZE NAME="main" BORDER="0">
    </FRAMESET>
    <noframes>
    </noframes>
    </HTML>
    This is the code used (It was taken from other sites, but generally it's always the same concept.)
    I also added:
    Code:
    <SCRIPT LANGUAGE='javascript'>try { if (top == self) {top.location.href='index.html'; } } catch(er) {  } </SCRIPT>
    In the <head></head> section.

    I also tried the CGI version available at About.com
    But it's always the same problem.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •