Sunday, February 26, 2012

Accessing Folders/File Outside App Directory

I have a web application (non-Cake PHP) that I've built an admin
backend for using Cake PHP. The app stores uploads in a folder, and
is in the root of the "regular" domain, while the admin backend (Cake
PHP app) is in a subdomain. So: the main website is located in the
root of my home directory inside a folder (e.g., mydomain.com), while
the Cake PHP app is in the root of my home directory inside a
different folder (e.g., admin.mydomain.com).

I need to be able to access files stored in the uploads folder from
the Cake PHP app, but can't figure out quite how to do it.

Can someone give me a brief overview as to how I'd accomplish this?

Basically, I just need to use the Cake PHP app to display thumbnails
of images uploaded to the uploads folder....

Thanks!
Bryan

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate