OrangeHairedBoy wrote: > I would like to use eval() to evaluate another PHP file and store the > output of that file in a string.
You could use output buffering to do this a bit more easily, I think: ob_start(); include('colors.php'); $colors = ob_get_contents(); ob_end_clean(); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php