You can tray to create session_id() and pass to this value through by uploadify. Then call the session id from acton page. And match them.
I can not pass values to the uploadify scriptData
-
24-06-2022 - |
Question
this is my code:
<script type="text/javascript">
$(function() {
$('#file_upload').uploadify({
'swf' : '../js/uploadify/uploadify.swf',
'uploader' : '../js/uploadify/uploadify.php',
'height' : '60',
'width' : '60',
'folder' : '../uploads/',
'muti' : true,
'displayData': 'speed',
'scriptData' : {'evento' : '<?php echo $galery['event'] ?>'},
});
});
I try to pass a value of a variable to the file uploadify.php where there will register these data in the database, but can not in any way ... I've tried looking at some papers but the result is the same ...
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow