Forums

Open links witf frames (4 posts)

  1. jantsu
    Member
    Posted 2 years ago #

    Im using this kind of frameset code to open outbond links with frames ->

    <html>
    
    <head>
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>sitename</title>
    </head>
    
    <frameset rows="24,*" frameborder="0">
      <frame name="ylatunniste" scrolling="no" noresize target="site1" src="up.php"/>
      <frame name="site2" src="<?php echo $_GET['link']; ?>"/>
      <noframes>
      <body>
    
      <p>no frame</p>
    
      </body>
      </noframes>
    </frameset>
    
    </html>

    If there is & mark in outbond link, this dont work. Outer link will cut just before &

    Any ideas what should i do?

    And please, dont ask why frames, i just need them.

  2. jonradio
    Member
    Posted 2 years ago #

    The ampersand ("&") separates parameters in HTML, so $_GET processing would assume that the ampersand ends your link= value.

    The April 11, 2007 comment on this page of the PHP manual may help, I'm not sure: http://ca.php.net/manual/en/reserved.variables.php

  3. jantsu
    Member
    Posted 2 years ago #

    Thank you, im not expert with php. Where should i do these changes?

  4. jonradio
    Member
    Posted 2 years ago #

    OK, looking at the quoted comment, now I'm not sure it will solve your problem.

    I think I better let someone else address your question of Solutions.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags