Hello,
I have csv filename with date. Everyday i have same csv file with respective date.
I need to read filename (everyday date changes in filename) and do operation.
For example, I have file "cells_20140106_165532.csv". I did like this to read it in general:
$filename = "cells_".date('Ymd_hmi').".csv";
$file_contents = file_get_contents($filename);
$importcsvsql = "";
//error: cells_20140114_110109.csv
It is taking current date instead of filename's date. It is generating empty file "cells_20140114_110109.csv"
Thanks in advanced.