文章列表
 
2012-01-31 14:10
varRoot=/BackCompat/i.test(document.compatMode)?
    document
.body : document.documentElement;
 
2011-04-17 10:53
Re: Running a php script from the crontab
Depending if you want php5 or php4 change the following accordingly

Open a terminal and do
Code:
sudo apt-get install php5-cliUse apt-cache show php5-cli to see what the package does/contains.

That will install the php command interpreter so all you need to do is add the following as the first line to the script you want to run from cron
 
2011-04-17 10:52

https://bugs.launchpad.net/ubuntu/+source/php5/+bug/573436

 

cd /etc/php5/cli/conf.d
sudo perl -pi.bk -e 's/(\s*)#/\1;/' *ini
sudo mkdir bk
sudo mv *.bk bk

 
2011-04-17 9:54

Ubuntu crontab 定时执行php脚本文件

摘自 http://farlee.info/archives/ubuntu-crontab-runn-php-scripts-file-with-linux-cron.html

什么是Cron和Crontab

Unix和Linux系统的各个发行版本基本都支持Cron,Cron /Crontab允许我们在设定的时间自动执行或定时执行某个任务,如应用程序或脚本。更详细的概念和

 
2011-04-02 14:12

原文:http://hi.baidu.com/zyrym1989/blog/item/437ca955d2d6cc173b293551.html

vim ctrl+z 窗口消失

在vim 操作中 ctrl+z是控制台      ,想回到窗口fg,就回来了
 
2011-04-02 14:12

Ubuntu下启动Apache.htaccess 的支持

 
2010-11-18 8:47
QRコードについてですが、例えば、
http://qr.quel.jp/whatsqr.phpのサイトを見てもらえますか?
日本国内の話ですが、このQRコードはいろいろなところで使われています。

QRコードについては、PHPのライブラリなど多く出ていますので、
「PHP QRコード」で検索すればいっぱいでてきます。
http://f3.aaa.livedoor.jp/~matukazu/lib/qrcode.php
など

GoogleのAPIが一番早いかもですねー。
http://phpspot.net/php/pg%82o%82g%82o%82%C5%8Cg%91%D1%97p%82p%82q%83R%81%5B%83h%8D%EC%90%AC.htm
 
2010-10-29 11:12
<!--
QQ 'My status' button
http://wp.qq.com/login.html
-->
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=17966633&site=qq&menu=yes">
<img border="0" src="http://wpa.qq.com/pa?p=2:17966633:41" alt="点击这里给我发消息" title="点击这里给我发消息">
</a>

<!--
MSN 'My status' button
http://settings.messenger.live.com/Applications/WebSettings.aspx
 
2010-10-28 17:23

此问题我遇到两次,通过下述办法解决,现记录下来。
Mysql Field * doesn't have a default value 解决方法

from:http://blog.sina.com.cn/s/blog_43ed7f260100fk6h.html

MySQL 5中,出现错误提示:
Field 'id' doesn't have a de
 
2010-07-14 11:20
根据RFC1522中关于信件编码的相关定义

电子邮件的信头编码格式分析

一个由非ASCII字符组成的信件的标题将具有以下格式:
"=?" + 字符集 + "?" + 编码方式 + "?" + 经过编码的字符串 + "?="
简单来说,一个由非ASCII字符构成的信件标题,经过电子邮件客户端软件编码后应该
(1)以“=?”开始;
(2)“=?”后紧跟该信件标题字符串的字符集;
(3)字符集结束后紧跟一个“?”;
(4)这个“?”后是该信件标题字符串的的编码方式;
(5)编码方
 
   
 
 
文章分类
 
   
 
文章存档
 
     
 
最新文章评论
  

呵呵,谢过,不过我发现,你有个地方错了,我的是apache 模式的,照样可以运行!
 

我的神。朝鲜语,日语,英语,中文 都会,太神了。
 

呵呵,借鉴下
 

我现在有这个的问题,我找了好几天了,就是没有办法解决!今天看你的和我的问题一样
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu