Al wrote:
int file_put_contents ( string $filename, mixed $data [, int $flags [, resource $context]] )This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a file.This native function does it for you
Very nice! I wasn't aware of this one. Thank you!! Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php