Something like this ...?
$time = time(); // UNIX timestamp $filename = $time . ".txt"; $string = "your content here"; $file = fopen("$filename","w"); fputs($file,$string); fclose($file); Michael On Mon, 26 Nov 2001, Kevin Garrett wrote: > Hi all, > > I'm looking to find out how to create a file using php & using the date & > time as it's filename. > > Can somebody please help me? > Kevin > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > -- ################################ Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommuntiy.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]