On Fri, 12 Jul 2002, J. Alden Gillespy wrote: > Anyone know how to do have a variable equal the contents of a file? I tried > the include function, but it just prints the file out on the screen rather > than including the contents in the variable itself. I need help with this > ASAP. Thanks.
$variable = join('', file('path/to/file')); miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php