Hi there,

i need to load some text from a atextfile and show it on the screen.
I placed my textfile (text1.txt) in the webroot-folder and try to open
it that way:

index.thtml:
                 $textfile = "text1.txt";
                 readfile($textfile);

but i get the message: "Warning: readfile(text1.txt): failed to open
stream: No such file or directory"

What is wrong? and can i use a html-helper?

Thanks,
Felix


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

Reply via email to