Setting a variable equal to contents of a file
Posted: Fri Dec 22, 2006 5:24 am
Hey all, I'm sorry I have to bug you guys with what is probably a very easy-to-answer question, but Google isn't being very friendly with my queries on this one. I just want to know how to set a variable equal to the contents of a particular file, like in the following (non-functional) example:
$var = include('file.php')
I'm trying to create a form mailer that uses templates.
Thanks!
$var = include('file.php')
I'm trying to create a form mailer that uses templates.
Thanks!