Hello,
1. Put into js folder a .htaccess file with RewriteEngine Off directive
(there are other ways also)
2. upload.php transform it into a controller action as you did into your
initial sample
--
Best regards,
Cristian Bichis
www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com
Hey friends.. this is my problem.. I want to do thinds in ZF style so I did
like this:
SWFUpload.onload = function () {
var settings = {
flash_url : baseUrl + "/js/swfupload/swfupload.swf",
upload_url: baseUrl + "/controller/upload", // the upload action
of my controller
...
and nothing.. it seems like I have to point to a real file. In fact, if I do
like this:
SWFUpload.onload = function () {
var settings = {
flash_url : baseUrl + "/js/swfupload/swfupload.swf",
upload_url: baseUrl + "/upload.php", // Upload file
...
it works great!
What I'm missing?
Well... if you did it, please let me know how.
thanks