[Plugin: Embed Iframe] hacked to embed GET variables in url
-
I hacked iframe.php to pass url encoded variables to the iframe
Someone might find it useful. I did ??<div class=”iframe-wrapper”>
<?php
if($_GET != NULL) {
$encode_string = “?”;
foreach($_GET as $key => $value)
{
$encode_string .= $key.”=”.$value.”&”;
}
}
?>
<iframe src=”<?php echo $url.$encode_string; ?>” frameborder=”0″ style=”height:<?=$height?>px;width:<?=$width?>px;”>Please upgrade your browser</iframe>
</div>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Embed Iframe] hacked to embed GET variables in url’ is closed to new replies.