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/SBogers10/verrassendveel.komma.pro/wwwroot/admin/php/js_updateColorSession.php
<?php
	session_set_cookie_params(0, '/', '.deensekroon.nl'); 
	session_start();
	
	/* 
		this page is loadad in forms with jquery from js_media.php 
	
		Mike Ontwerpt 2012
		www.mikeontwerpt.nl
		
	*/
	
	/* reinclude sources (because this is a jquery-loaded pages) */
include_once $_SERVER['DOCUMENT_ROOT'] . '/config/komma.php';

require_once 'connect.php';
	require_once 'functions.php';
	
	$color = $_GET['color'];
	$key = $_GET['key'];
	$sessionname = $_GET['sessionname'];
	
	$_SESSION[$sessionname]['color'][$key] = $color;
?>