U
u2
Guest
Guest
It is supposed to send these variables to the files in the frameset but the files can't see the last four.
Code:
<html>
<head>
<?php
$id = $_REQUEST['id'];
$user = $_REQUEST['user'];
$width = $_REQUEST['width'];
$height = $_REQUEST['height'];
$censor = $_REQUEST['censor'];
$bgcolor = $_REQUEST['bgcolor'];
$ftcolor = $_REQUEST['ftcolor'];
$sccolor = $_REGUEST['sccolor'];
$lkcolor = $_REQUEST['lkcolor'];
if ($bgcolor == "") {
$bgcolor = "#000000";
}
if ($sccolor == "") {
$sccolor = "#111111";
}
if ($ftcolor == "") {
$ftcolor = "#DDDDDD";
}
if ($lkcolor == "") {
$lkcolor = "#DDDD00";
}
if ($id == "") {
$id = "1";
}
if ($width < 128) {
$width = 256;
}
if ($height < 256) {
$height = 480;
}
$height = $height - 144;
$height = $height - 32;
if ($swear = "") {
$swear = "no";
}
if ($user = "") {
$user = "Guest";
}
?>
<frameset cols="<?php echo $width ?>" rows="32,1,<?php echo $height ?>,144" border="0">
<frame src="top.php?id=<?php echo $id ?>&user=<?php echo $user ?>" noresize scrolling="no">
<frame src="top2.php?id=<?php echo $id ?>&height=<?php echo $height ?>&censor=<?php echo $censor ?>&bgcolor=<?php echo $bgcolor ?>&ftcolor=<?php echo $ftcolor ?>&sccolor=<?php echo $sccolor ?>&lkcolor=<?php echo $lkcolor ?>" noresize scrolling="no">
<frame src="chat1.php?id=<?php echo $id ?>&ref=2&censor=<?php echo $censor ?>&height=<?php echo $height ?>&bgcolor=<?php echo $bgcolor ?>&ftcolor=<?php echo $ftcolor ?>&sccolor=<?php echo $sccolor ?>&lkcolor=<?php echo $lkcolor ?>" noresize scrolling="yes" name="main">
<frame src="chat2.php?user=<?php echo $user ?>&id=<?php echo $id ?>&width=<?php echo $width ?>&bgcolor=<?php echo $bgcolor ?>&ftcolor=<?php echo $ftcolor ?>&lkcolor=<?php echo $lkcolor ?>" noresize scrolling="no">
</frameset>
</html>














