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
Kevin Murphy wrote:
I'm running the following script (simplified for discussion) to create a
CSV file. My problem here is that the first filemtime and the last
filemtime always equal each other. What I am trying to get is the
filemtime ($new_last_modified) of the file that was just executed 3
I'm running the following script (simplified for discussion) to
create a CSV file. My problem here is that the first filemtime and
the last filemtime always equal each other. What I am trying to get
is the filemtime ($new_last_modified) of the file that was just
executed 3 lines earlier. Is
3 matches
Mail list logo