In article <00bc01c1e131$7a7bb7e0$[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Edward R. Bailey) wrote:

>  I want to assign the contents of a separate file (a web page) to 
>  $message instead of inserting the contents of the file as a string in 
>  the actual script. I want the body of the email to come from a separate 
>  file to help make changing the body of the email easier too. I tried 
>  using - 
> 
> readfile("includes/news.html")
> 
> But that did not work and instead inserted file into the actual webpage 
> instead of the email.
> 
> Does anyone have an idea or suggestion?

<http://php.net/file> or <http://php.net/fread>

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to