18 lines
443 B
PHP
18 lines
443 B
PHP
<?php
|
|
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
|
|
|
if ($_REQUEST['temp_id']) {
|
|
session_start();
|
|
$temp_id = $_REQUEST['temp_id'];
|
|
$_SESSION[$temp_id] = array();
|
|
|
|
$_POST = $_REQUEST;
|
|
|
|
$json = getJSONobj();
|
|
$pll = array(); $i=0; while(isset($_POST['p_'.$i])) { $pll[] = $json->decode(htmlspecialchars_decode($_POST['p_'.$i])); $_POST['p_'.$i] = ''; $i++;}
|
|
|
|
|
|
$_SESSION[$temp_id] = $pll;
|
|
die();;
|
|
}
|
|
?>
|