the $auth->hasIdentity() == false, not "true", sorry for the mistake !
Apsy a écrit :
Ok, i've found where is my app problem :
I have in my code :
Zend_Auth::getInstance()
// Init Routes
// Routes
if (!$auth->hasIdentity()) {
$router = new Zend_Controller_Router_Rewrite();
$router->addConfig($config_routes, 'routes');
$router->removeDefaultRoutes();
Zend_Controller_Front::getInstance()->setRouter($router);
}
That's this part of my code that cause the problem !
It seems that when it is a Flash request, the $auth->hasIdentity() ==
true. Unlike i'm logued and with an identity...
Dinh a écrit :
You can use FancyUpload or SWFUpload, which are all client-side.
However, they may be broken in Flash Player 10, due to a
controversial change in security policy
On Sat, Sep 20, 2008 at 12:34 AM, Apsy <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Is it possible to upload a file with Flash and Zend Framework ??
Does someone has an example ?
Because i've tried to do it but it seems that the url
"/image/upload" of the "image' controller and the 'upload' action
cannot be access by Flash...
Flash returns me a 404 Error. And in the 'init' method of my
controller i've tried to log a message but i haven't any in the
file...
Can someone helps me ?
--
--------------
http://groups.google.com/group/phpvietnam