Hi all,
I have a bunch of static HTML files (and perhaps later some PHP files)
that I'd like to include wholesale in a view. I thought perhaps the
/app/webroot/files/ directory would be appropriate for holding them, so
I've tried a few things like:
include ("/app/webroot/files/foo.html");
include ("/files/foo.html");
include($html->url('/files/foo.html');
But all of these yield a "No such file or directory" error. However, I
can see the file fine if I point the browser at /files/foo.html
Does anyone have suggestions on how to get this to work? I can't find
any helper function that looks like it's supposed to do this. Is there
a better/recommended way to do it?
Thanks,
ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---