javascript - Action Automation with Server Side Clock Timestamp JS PHP -
i need time server-clock in js or php, think js it's better server-side.
aniway have php page includes rows in table "rows" of database. table "rows" have 3 columns: id(consecutive), date(m-d-y), time(h:i).
the script need have check current server time, if between last rows published , current time minimum 10 minutes, creates row in database current date , current timestamp.
obviously thought js's getdate(); function maybe both js , php user needs open page in order start clock, need server counts no visits. way should making client script , start process execute locally on machine script check if timestamp higher every x mins it's not clean work.
thanks guys! :)
Comments
Post a Comment