When updating the Debian based system, it may happens that the apt-get displays an error message like: W: GPG error: ftp://ftp.debian.org/ testing Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: There is no public key available for the following key IDs: 010908312D230C5F This is a new [...]
// 更多报头 $headers .= "From: 姚迎迎 <admin@yaoyingying.com>". "\r\n" ."CC: yao3060@gmail.com, yao3060@hotmail.com"; 突然发现 php mail 函数 抄送的时候, header 里用 单引号 (‘) 竟然会有错误,一定要用双引号。。。。。。 NND 这一直是一个误解,其实 \r\n 必须使用双引号(”")
开始,第一个元素默认被选择,鼠标经过改变被选择的元素,当鼠标离开,又恢复第一个被选择。 <html><html> <head> <title></title> <style> * { padding:0; margin:0;} div { background:#eee; padding:20px; width:500px; } a {padding:5px; border:#ccc solid 1px;} .active{color:#F00; padding:5px; border:#F00 solid 1px;} p{background:#CCC; border:#333 solid 1px; padding:20px;} .hilight { color:red;} </style> </head> <body> <div class="navig"> <a href="/" class="active">澳星移民</a> <a href="/" >澳星留学</a> <a href="/" >海外房产</a> <a href="/" target="_blank" >澳星之友</a> <a href="/" target="_blank" [...]
How To Use PHP to Force a File Download http://webdesign.about.com/od/php/ht/force_download.htm PHP allows you to change the HTTP headers of files that you’re writing, so that you can force a file to be downloaded that normally the browser would load in the same window. This is perfect for files like PDFs, document files, images, and video [...]
是一些相关的软件没有安装,如:gcc automake autoconf libtool make ubuntu debian 可以直接 apt-get install gcc automake autoconf libtool make redhat centos: yum -y install gcc automake autoconf libtool make

Posted on 30, 五











