10 2013 档案

[转载]apache目录的访问控制
摘要:1.根目录的访问控制DocumentRoot"/var/www/html" OptionsFollowSymLinks AllowOverrideNone 解释一下:表示要对文件系统的目录进行限制Options FollowSymLinks表示跟随符号链接,关于Option的值参下表AllowOverride None表示不允许覆盖,AllowOverride的值参见下表,在此例中对根目录做了非常严格的限制,即只允许跟随符号链接,不允许其他文件覆盖当前的设置。2.文档根目录的访问控制针对文档根目录"/var/www/html"进行限制。 OptionsI 阅读全文

posted @ 2013-10-29 13:49 陈可 阅读(521) 评论(0) 推荐(0)

php获取实时汇率
摘要:function getExchangeRate($from_Currency,$to_Currency,$amount){ $from_Currency = urlencode($from_Currency); $to_Currency = urlencode($to_Currency); $url = "download.finance.yahoo.com/d/quotes.html?s=".$from_Currency.$to_Currency."=X&f=sl1d1t1ba&e=.html"; $ch = curl_init(). 阅读全文

posted @ 2013-10-18 10:05 陈可 阅读(1161) 评论(0) 推荐(0)

在图片上面添加字体
摘要:图片文字 阅读全文

posted @ 2013-10-10 10:33 陈可 阅读(182) 评论(0) 推荐(0)

导航