`
FZtree
  • 浏览: 109955 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
<?php TIME_THIS_WEEK; echo strtotime("last Monday"); #2017/1/2 0:0:0 TIME_THIS_MONTH; echo strtotime(date("Y-m-1")); #2017/1/1 0:0:0 TIME_LAST_MONTH; $last_month_time = strtotime("last Month"); echo strtotime(da ...
sudo apt-get purge google-chrome-stable   wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome-stable_current_amd64.deb   sudo apt-get install -f
https://technet.microsoft.com/zh-cn/security/bulletins   按产品或组件筛选     Windows6.1-KB2852386-x64.msu
{   "font_face": "M+ 1m",   "font_size": 13,   "tab_size": 2,   "translate_tabs_to_spaces": true }       INSTALL     sudo apt-get install -y fonts-mplus   README     https://github.com/rayshan/mplus-fonts
server {   listen 80;   server_name test4.mp.com;     root /home/mk/www/test4;   index index.php index.html;     location / {     try_files $uri $uri/ /index.php$uri?$args;   }     location ~ \.php {     fastcgi_pass unix:/tmp/php-fcgi.sock;     include fastcgi.conf;       fastcgi_ind ...
HSTS AlphaSSL
http://www.cnblogs.com/itjeff/p/6007181.html   jQuery Ajax可以通过headers或beforeSend修改request的HTTP headers,例如: $.ajax({ url: "./test.php", type: "POST", headers: { "Accept" : "text/plain; charset=utf-8", ...
O 语言层面/面向对象/设计模式 O 应用层面/业务设计层面/架构层面 O 项目层面/技术阶段/任务分解层面   <?php class base_class { function say_a() { echo "'a' said the " . __CLASS__ . "<br>"; } function say_b() { echo "'b' said the " . get_class($this) . "<br>"; ...
  很干净的设计思想    
http://www.cnblogs.com/yangjinjin/archive/2013/01/31/2887492.html    
<?php #utc #echo date(DATE_RFC822); list($us, $unix_time) = explode(' ', microtime()); #die( pow(10,6) * $us.'-'.$unix_time ); $seq = pow(10,6) * $us % 1000; $dict= range('a', 'z'); for ($i = 0; $i < 9; $i++){ $k = array_rand($dict); $seq.= $dict[$k]; } echo $unix_time.'- ...
http://blog.csdn.net/minipeach/article/details/5325161/
http://blog.csdn.net/zhouxin1985/article/details/7896849

保存phpinfo到文件

  全新编译了php 5.5.10,没有安装apache,想查看一下php.ini在什么位置。   =>那就,输出phpinfo()   终端输出来没有换行,简直就不是人读的。   =>那就,输出到文件 终端执行 $ php w_phpinfo.php <?php #文件w_phpinfo.php $myfile = fopen("result.txt", "w") or die("Unable to open file!"); $txt = phpinfo(); fwrite($my ...
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer   NoDrives[DWORD:131073]  
Global site tag (gtag.js) - Google Analytics