View Single Post
Old 11-16-2012, 08:44 AM   PM User | #10
damlays
New Coder

 
Join Date: Nov 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
damlays is an unknown quantity at this point
I see. For entering inotify-tools on linux I don't think so I am brave enough

About md5_file() , I think I understand your point, php file will check this information every time before saving a new file and if it is the same file it will not save..right?
I can guess that it is easy script for you, but it seems a little bit advanced programming for me
I am using iSpy security software for uploading image files, uploads on motion detection, but I couldn't find sending email or caling a web page function paralel with upload..

But I can ask an easier script help from you maybe be the solution of this problem.
If we can modify the current code for saving the image files every hour to a new created folder instead of one stable folder, then it can be possble to manage many saved files.

I mean for every day one parent folder of the day will be created automaticly by php file if it is the first file saving after 12:00 am of previous day. Folders as below
121116
121117
121118
.......

And in each folder, 24 folders will be created one by one by php file when the time comes to save an image if file belongs to a new hour, as
00
01
02
04
....
...
22
23

Is it an easy and short modification or difficult and long?

Last edited by damlays; 11-16-2012 at 08:54 AM..
damlays is offline   Reply With Quote