since cake is built in php perhaps this might work for you

http://www.php.net/manual/en/function.fopen.php

in order to get the paths perhaps the CakePHP constants will help you as well

http://manual.cakephp.org/view/120/global-constants-and-functions

good luck

On Thu, May 29, 2008 at 5:08 AM, ajay <[EMAIL PROTECTED]> wrote:
>
> hi, i wanted to know how i can open a file using cake php
>
> for example a txt file located in vendors or in webroot/files
>
> >
>



-- 
-- 
(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/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to