Change the split function to explode, so in this line.....
Code: Select all
$datearr = split($date_delimiter,$buf_arr['0']);
Code: Select all
$datearr = explode($date_delimiter,$buf_arr['0']);
Code: Select all
$datearr = split($date_delimiter,$buf_arr['0']);
Code: Select all
$datearr = explode($date_delimiter,$buf_arr['0']);
There may be a corruption in your log file -- find the last entry in the SQL DB then look at the same location in the text file to see if anything looks odd. Upload the file here and we can have a lookpenalank wrote:For the monthly files I store data each 10 minute. When i make import into the database i get only firs 7 days into my MySQL.
penalank wrote:Found the problems, was an PHP limits.
I think you better use http://www.wentworth etc htp isn't a Hypertext Transfer ProtocolArnie wrote:Hi David
Attempted to upload the monthly log file as follows
[url]htp://www.wentworthvilleweather.com/ImportCum ... n10log.txt[/url]
I get a Firefox msg "Firefox doesn't know how to open this address, because the protocol (htp) isn't associated with any program"
I think you better use http://www.wentworth etc htp isn't a Hypertext Transfer Protocol