易截截图软件、单文件、免安装、纯绿色、仅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学习笔记

    今天开始学习PHP,感觉看过就忘了,啥都留不下比较遗憾,就边看边总结了,方便自己以后看,也方便别人快速入门,或者快速复习吧(awen)。
 
第一部分 搭建平台
1.    可以下载一个php for windows iis 版本 最省劲,直接安装后自动升级iis使其支持php功能。
2.    ......

php 字符串函数

一、字符串基础函数
ltrim: 去除连续空白。
trim: 截去字符串首尾的空格。
Chop: 函数从字符串的末端开始删除空白字符或其他预定义字符。(rtrim别名)
<?php
$str = "Hello World!\n\n";
echo $str;
echo chop($str);
?>
输出:
Hello World! Hello World!
htmlspecialchars(string,quotestyle,characte ......

Apache+Mysql+Php安装文档(rpm版本)

  1.mysql
  在如下页面下载mysql的for linux rpm包
   http://www.mysql.com/downloads/down...3.52-1.i386.rpm ;
   http://www.mysql.com/downloads/down...3.52-1.i386.rpm ;
  存至/home/tmp目录
  命令列表: 
  cd /home/tmp
  rpm -ivh MySQL-3.23.52-1.i386.rpm #安装mysql serv ......

PHP 正则表达式资料


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