Categories
PHP Web development

Uploadify – eroare HTTP 302 in Firefox

In scriptul JS:

$('#upload').uploadify({
	'scriptData': { 'session': '<?php echo session_id(); ?>' }
});

In scriptul PHP:

if (array_key_exists('session_id', $_REQUEST))
	session_id($_REQUEST['session_id']);

Sursa: http://www.uploadify.com/forum/#/discussion/4832/php-and-sessions-to-uploadify.php

Leave a Reply

Your email address will not be published. Required fields are marked *