I am trying to implement the JQuery Plugin, "Uploadify" in my CakePHP
project...but I am having a problem calling the upload script
specified in the "script" parameter...This is due to the fact that the
CakePHP "Pretty URLs" are breaking it. After some research through
this forum, i came across a post where someone was having a similar
problem in CodeIgniter...The solution was to strip the pagepath
variable from the uploadify script, to allow use of pretty
urls...however i still cannot get the script to find my upload
script...
my jquery function...
$('#PhotoFilename').fileUpload({
'uploader': '/uploader.swf',
'script': '/photos/upload',
'folder': '/app/webroot/files',
'cancelImg': '/img/cancel.png',
'multi': true
});
..from jquery.uploadify: setting the pagepath to nothing...
var f="&pagepath=";
I have tried using a relative path, as well as an absolute path, for
teh "script" parameter, but nothing has worked...Any insight would be
much appreciated...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---