One: Time function and Uniqid ()
1:uniqid (): Generates a unique ID, the length of the string returned by the parameterless parameter is 13, and the parameter is 23
2: PHP functions that convert time and time stamps to each other
①:time () returns the current UNIX timestamp microtime () returns the timestamp and number of microseconds
②:date (' y-m-d h:i:s ', Time ()) format a local date/date
③:strtotime () Converts the datetime description of the English text of any date to a Unix timestamp
Two: Jump and redirect of TP frame
1: Page Jump
①:success (' Cue message ', ' Jump address ', ' Jump Time '); Default Jump Address: $_server[' http_referer ') Default wait time: 1 seconds
②:error (' Cue message ', ' Jump address ', ' Jump Time '); Default Jump Address: Javascript:history.back (-1) Default wait time: 3 seconds
2: Redirect to page
Redirect (' URL address ', ' time ', ' hint message ') just want to redirect a specified URL address instead of a module's Operation method. is consistent with the use of the U function.
2015.1 knowledge points and functions for writing the message board---> summary