swfupload destroy session? php
hy, i need a little help here: i use SWFupload to upload images! in the upload function i make a folder call $_SESSION['folder'] and all the files i upload are in 1 array call $_SESSION['files'] after uploads finish i print_r($_SESSION) but the array is empty? why that? this is my upload.php: if($_FILES['image']['name']) { list($name,$error) = upload('image','jpeg,jpg,png'); if($error) {$result = $error;} if($name) { // Upload Successful $result = watermark($name); print '<img src="uploads/'.$_SESSION['dir'].'/'.$result.'" />'; } else { // Upload failed for some reason. print 'noname'.$result;