HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/MMartorell/glasblazerijmartorell.nl/wwwroot/templates/nld_044_15/designer.php
<?php

$width = $_GET['width'];
$font_s = $_GET['font_s'];
$font_color = $_GET['font_color'];
$domain = $_SERVER['SERVER_NAME'];

if(isset($width))
{
	$_SESSION['width'] = $width;
	setcookie ('width', $width, time()+31536000, '/', false);
	
	if ($width=='narrow'){
		setcookie ('users_resolution', '800', time()+31536000, '/', false);
	} else {
		setcookie ('users_resolution', '1024', time()+31536000, '/', false);
	}
	
}

if(isset($font_s))
{
	$_SESSION['font_s'] = $font_s;
	setcookie ('font_s', $font_s, time()+31536000, '/', false);
}
if(isset($font_color))
{
	$_SESSION['font_color'] = $font_color;
	setcookie ('font_color', $font_color, time()+31536000, '/', false);
}
header("Location: " . $_SERVER['HTTP_REFERER']);

?>