Quote:
Originally Posted by ceo_tfw
is there a way to date the file as it does it,
i.e.: friday.sql... sat.sql.. sun.sql and so on
and overwrite the same file as it come to it i.e.: fri.sql will overwrite fri.sql
any thoughts on this
|
You should be able to change this line:
PHP Code:
$cur_date = date('U');
to this:
PHP Code:
$cur_date = date('l');
I haven't tested it but it should do it.