On Tue 31 Jul 07 22:57, Kevin Murphy wrote: > $csv_file = "myFile.csv"; > $last_modified_csv = filemtime($csv_file); > > $fh = fopen($csv_file, 'w') or die("can't open file"); > fwrite($fh, "Data Goes Here"); > fclose($fh); add a clearstatcache() in here. (and sometimes just for because you might want to emit a buffer, a flush(); > $new_last_modified = filemtime($csv_file); -- Eddie Dunckley - eddie@xxxxxxxxxx - Realtime Travel Connections IBE Development, www.rttc.co.za, cell 083-379-6891, fax 086-617-7831 Where 33deg53'37.23"S 18deg37'57.87"E Cape Town Bellville Oakdale ZA "Honk if you hate peace and quiet." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php