User:Krams036/PHP cheatsheet
Essential SublimeText Packages[fetola | fetola mohloli]
- Package Control
- ColorHints
- Emmet
- EmmetCSS
Excel to PHP Time[fetola | fetola mohloli]
$str_date = time(); $toExcel = intval(25569 + $str_date / 86400); //Convert PHP time to Excel time $frExcel = intval(($toExcel - 25569)*86400 ); //Convert Excel time to PHP time
Detect Browser[fetola | fetola mohloli]
https://stackoverflow.com/questions/2257597/reliable-user-browser-detection-with-php