易截截图软件、单文件、免安装、纯绿色、仅160KB

Aptana studio 2.0 +aptana php plugin 1.1

I’ve just updated Aptana Studio from 1.5 to 2.0 only to find out that the spectacular Aptana PHP plugin is not longer supported and its installation has been removed from the Install Additional Features view. However, with some tricks we can still install the old Aptana 1.5.1 in order to use it. Well, in fact we can even install Aptana PHP in Studio 2.0.
First, download Aptana Studio 2.0 and install it.
 When you reach the Install Additional Features after installing Aptana, close it, what we need is not here.
 
from the Help menu, click on Install New Software…
 add the Aptana PHP plugin update site. Click on the Add… button and type the url http://update.aptana.com/update/php
 
 
Choose the Aptana PHP 1.1 and install it. After restarting Studio, the Aptana PHP plugin will be installed and your php files will be handled by it.
 
 
As you can see on the Plugins Manager, Aptana PHP 1.1 is installed (the Duplicate location warning appears because I typed the url again for this tutorial). I’ve you already installed Eclipse PDT, make sure you remove it, or your php files won’t be handled by Aptana PHP.
So that’s it, if you find any issues please let me know.
 


相关文档:

PHP常用正则表达式

    匹配中文字符的正则表达式
: [\u4e00-\u9fa5]
    匹配双字节字符(包括汉字在内)
: ["\x00-\xff]
    应用:计算字符串的长度
(一个双字节字符长度计2,ASCII字符计1)
    String.prototype.len=function(){return
th ......

PHP通过session id 实现session共享和登录验证[转]

http://edu.codepub.com/2010/0131/20248.php
其实这个应该不算是疑难问题,就是php中用 sessionid得到session的值,因为的确很简单,只是可能大家平时用不到所以没有注意到罢了。
 
先说说,这个机制的用途吧,到现在为止战地知道这个机制有两个方面的用途:
其实这个应该不算是疑难问题,就是php中用 sessi ......

php单例模式


<?php  
    //单例模式的类Lock
  
    class
 Lock  
    {  
        //静态属性$instance
  
        ......

PHP的smarty使用心得!

花了几个小时的时间研究一下,发现还是比较好用的!
smarty可以很好地将逻辑与表现分离,后台程序员和web前端工程师各干各的事,不像以前,php代码和html代码杂合在一起,后台程序员和前端前序员一起发飙,因为他们的技能要求更高了,都必须要懂对方的语言,呵呵!
网上介绍的配置太哆嗦了,也许是老版本的缘故的,因为我 ......

PHP 正则表达式资料


 每个PHP程序员都知道PHP有强大的正则表达式功能,为了以后的工作方便,我从网上整理了关于正则表达式的资料,方便以后工作时的进行资料查阅。 
  正则表达式(regular expression)描述了一种字符串匹配的模式,可以用来检查一个串是否含有某种子串、将匹配的子串做替换或者从某个串中取出符合某个条件的子串等。 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号