Support » Plugins and Hacks » Insert PHP » [Resolved] Can it be done?

[Resolved] Can it be done?

  • Hi Bill,

    I have been looking for a plugin like yours. I am trying to pass parameters from a (post method) form among pages to an iframe.

    <iframe id=”rpt01″ name=”rpt01″ src=”http://domain/query.php?p1=[insert_php]echo $p1;[/insert_php]&p2=[insert_php]echo $p2;[/insert_php]&ui=[insert_php] echo $ui;[/insert_php]”></iframe>

    p1 and p2 are the parameters.

    Can it be done?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WillBontrager


    Hi lwall,

    The code processed with the plugin needs to be complete in itself. Outside variables and functions won’t be accessed.

    However, global variables can be accessed.

    Perhaps something like this will work:

    <iframe id="rpt01" name="rpt01" src="http://domain/query.php?p1=[insert_php]echo($_POST['p1']);[/insert_php]&p2=[insert_php]echo($_POST['p2']);[/insert_php]&ui=[insert_php]echo($_POST['ui']);[/insert_php]"></iframe>


    Thanks, Bill!!!

    It worked like a charm.

    Plugin Author WillBontrager


    Cool. Glad of it 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Can it be done?’ is closed to new replies.
Skip to toolbar