On Fri, 21 Feb 2003, Sascha Schumann wrote: > > I think a counterpart for file_get_contents in the form of a plain > > file_put_contents would be welcome. > > Don't tell me that > > <?php file_write_content('foobar.txt', 'foo!', file_exists('foobar.txt'));
I meant a *plain* file_put_contents: <?php file_put_contents('foobar.txt', $content); ?> Derick -- Stop mad cowboy disease! ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php