Posts Tagged zend framework

Zend Framework Manual – CHM

0
Digg me

http://code.google.com/p/zfchm/

compile the offical zend framework manual to chm file format. update to the offical site release!

,

No Comments

Swfupload Session Bug Solution in Zend Framework

0
Digg me

1. Include the cookie plugin:

1 <script type="text/javascript" src="/SWFUpload/plugins/swfupload.cookies.js"></script>

OR add post param

1 post_params: 2 { 3 ”PHPSESSID”:<?= Zend_Session::getId()?>4 },

2. /application/bootstrap.php

insert before session start.

1 if (isset($_POST['PHPSESSID']) && strpos($_SERVER['REQUEST_URI'], "/swfupload")!==false) { 2 session_id($_POST['PHPSESSID']); 3 }

"/swfupload” have to change your controller or controller/action patten. It prevents security issue.

,

No Comments