/swf/theFileIsHere.swf On 4/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > what about swf,if I put it in webroot/swf ,how can I reference the > file? > > On 4月20日, 下午11时38分, gerbenzomp <[EMAIL PROTECTED]> wrote: > > Images are best put in the "img" folder in the webroot, because this > > way you can use Cake's built in html helper: > > > > $html->image('myimage.jpg'); > > > > > what is the webroot dir for? when and what to put into this dir? > > > > The webroot is meant for all external files your layout uses, so > > images, css, javascripts, etc. > > > > Gerben. > > > > On 20 apr, 17:21, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > when I create my own layout file ,where to put all the related pics > > > and swfs?my layout file is in cake\app\views\layouts > > > > > what is the webroot dir for? when and what to put into this dir? > > > > >
-- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---