04 2012 档案

摘要:I’ll show you 3 functions that download a particular file (ex: image,video,zip,pdf,doc,xls,etc) from a remote resource (via a valid URL) then save to your server.Depending on your current php.ini settings, some functions may not work; therefore, let try which function is best for you.Note:please ens 阅读全文
posted @ 2012-04-24 20:49 Lux.Y 阅读(1623) 评论(0) 推荐(0) 编辑
摘要:Ever needed to simply get the file extension from the end of a file? This can be done with the pathinfo() function, but what was needed was the dot also in this case. Whilst pathinfo() gives the extension name, it does not return the dot. Keep in mind this function was created in an early version of 阅读全文
posted @ 2012-04-24 18:25 Lux.Y 阅读(514) 评论(0) 推荐(0) 编辑
摘要:I've been looking everywhere on how to do this, and I've been noticing lots of searches to the site looking for this. So I finally figured out how to do it, and am puting my findings here for you.The first thing you'll need to do is make sure you have the ZZIPlib library installed. If yo 阅读全文
posted @ 2012-04-23 23:19 Lux.Y 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-04-23 20:11 Lux.Y 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-04-19 21:51 Lux.Y 阅读(539) 评论(0) 推荐(0) 编辑
摘要:From: http://codestips.com/php-xml-to-csv/To create a csv file from a xml in PHP 5.0 it’s very simple, we will just have to write some lines. We will use the SimpleXML extension that come from PHP 5.0. SimpleXML reads an entire xml into an object that we can iterate through his properties. To write 阅读全文
posted @ 2012-04-17 21:10 Lux.Y 阅读(406) 评论(0) 推荐(0) 编辑
摘要:<?php $rss_tags = array( 'title', 'link', 'guid', 'comments', 'description', 'pubDate', 'category', ); $rss_item_tag = 'item'; $rss_url = 'http://www.pixel2lif... 阅读全文
posted @ 2012-04-16 22:15 Lux.Y 阅读(237) 评论(0) 推荐(0) 编辑
摘要:From: http://www.packtpub.com/article/layouts-in-ext-jsA Layout turns your forms, grids, and other widgets into a true web application. The most widely-used layout styles can be found in operating systems such as Microsoft's Windows, which uses border layouts, resizable regions, accordions, tabs 阅读全文
posted @ 2012-04-16 16:48 Lux.Y 阅读(593) 评论(0) 推荐(0) 编辑
摘要:From: php100.com今天是愚人节, 但我这个文章标题可不是和大家开玩笑. 首先, 大家都知道, PHP也是一种编译型脚本语言, 和其他的预编译型语言不同, 它不是编译成中间代码, 然后发布.. 而是每次运行都需要编译.. 为此, 也就有了一些Opcode Cacche, 比如开源的APC, eacc. 还有商业的Zend O+等. 那么为什么PHP不把编译/执行分开呢? PHP虽然是一种编译型脚本语言, 但是它的编译速度非常快, 它的编译不做任何优化, 就是简单的忠实的把你所写的代码翻译成对应的Opcodes. 而其他语言因为在编译器做很多的优化工作, 会造成编译比较重, ... 阅读全文
posted @ 2012-04-06 00:30 Lux.Y 阅读(164) 评论(0) 推荐(0) 编辑
摘要:From: http://www.cssk8.com/html/css_Tutorial/201002/09-2036.html在我们写样式的时候,页面的CSS在经历几个版本的修改之后,可能有些样式已经用不到了,或许将某些样式更名了而原来的忘了删除,总之页面中可能存 在着一些无用的样式。这些无用的浪费了一些服务器空间和带宽消耗,也会增大我们的维护成本。那么有没有一些办法来清理那些无用的样式呢?今天就让我们来了 解一下几个比较有用的工具。Dust-Me selectorsDust-Me是一个很有用也很好用的Firefox插件,它可以分析到你的页面中调用的所有CSS文件并分析那些在页面中没有被用到 阅读全文
posted @ 2012-04-05 23:20 Lux.Y 阅读(1041) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示