Try this:

implode ('', file ($filename));

On Fri, 2002-10-25 at 19:26, Shane wrote:
> Any way to plug an entire HTML file into a variable?
> 
> I looked into file_get_contents() but that was CVS format only.
> 
> I need to take a simple HTML file and pass it as a string variable to a mail 
>function.
> 
> Any help?
> Thanks crew.
> 
> - NorthBayShane
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



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

Reply via email to