<?php
print ”<p style=’height: 700px;’>”;
session_start();
$session = current($_SESSION);
$user = $session[’user’];
$id = $user->id;
mysql_connect(”mysql369.loopia.se”,”bmj@s121014″,”ueryiphjihumecnoysuyrjeesheycai”);
mysql_select_db(”sfpe_biv_se”);
$sessionId = md5(time() + rand() + $id);
$sql = ”INSERT INTO `bm_sessions` (`session`, `memberId`,`created`) VALUES (’$sessionId’, ’$id’,UNIX_TIMESTAMP())”;
mysql_query($sql);
print mysql_error();
print ’<iframe id=”blockrandom”
name=”iframe”
src=”http://medlem.sfpe-biv.se/external/invoices?session=’.$sessionId.’&memberId=’.$id.'”
style=”height: 600px; width: 100%; position: absolute;”
height=”700px”
width=”100%”
scrolling=”auto”
align=”top”
frameborder=”0″
class=”wrapper”
>
Detta val kommer inte att fungera korrekt. Din webbläsare stödjer tyvärr inte IFRAMES.</iframe></p>’;
?>