I was trying to use file(), with some problems.. thank you for your suggestions to use file_get_contents(). Perfect! You're all right, it works really well.
I hope you didn't miss the mention of htmlentities(), also. If you did, then you'll figure it out the first time you try to load a file with the string "</textarea>" in it, I guess.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php