Pergunta

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 ...

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top