I am building a web application using CakePHP. I am using meioupload to upload the images. These images are successfully uploaded. I would like to separate the admin-app and public-app into, of course, two separate CakePHP applications. The problem is that I can’t share the images that were uploaded into the public-app’s webroot with the admin-app’s webroot and vice versa. I am thinking about uploading these images into another folder outside those two apps. Am I on the right track? If I am, how can I do this?
Thanks.
using meioupload, it turn out that i can use relative path, so i do it like this: