thanx the project files structure / /webroot /userFiles /controllers /models /vendors .. .. etc
is userFiles folder outside document root ? whats can I do to make a separated image folder for users ? On Jul 26, 2:42 pm, Andy Gale <[email protected]> wrote: > On Mon, Jul 26, 2010 at 12:37 PM, [email protected] <[email protected]> wrote: > > In my application I upload images in folder outside webroot called > > userFiles - in the same level of webroot - and I can't display these > > images using html helper > > <?php echo $html->image('/userFiles/my_pic.png')?> > > as cake consider all images url in webroot img > > Any help plz > > They are outside the document root so your web server can't serve them. > > -- > Andy Galehttp://andy-gale.comhttp://twitter.com/andygale Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
