现在转行PHP啦,唉真的要术业有专攻啊
转眼间三年过去了,发觉自己都还在原地踏步,俗话说“逆水行舟,不进则退”;三年间,从asp,java到PHP,在几门语言之间辗转,
每门都会那么一点点,就是不精通,感觉每样都那不错手,现在下定决心未来很长一段时间内都将分配给PHP,一切就从Zend Framework框架开始吧
相关文档:
<?php
//单例模式的类Lock
class
Lock
{
//静态属性$instance
  ......
总结下本人在日常工作中使用php操作word的一些实战。
方法一:利用php com模块
。也即利用word提供的本地api,所有只适用于windows系统上。
<?php
$word = new com('word.application') or die('无法打开word');
$word->Visiable = false;
$doc_file = '/path/to/doc';
$word->Open($doc_file);
$text = ' ......
1.安装apache2.0
sudo apt-get install apache2
安装后在浏览器中打开:
http://localhost/或者http://127.0.0.1
如果出现It works!,那证明安装成功。
2.安装PHP
sudo apt-get install php
5 //安装PHP
5
sudo apt-get install libapache2-mod-php5 //配置APACHE+PHP
sud ......
每个PHP程序员都知道PHP有强大的正则表达式功能,为了以后的工作方便,我从网上整理了关于正则表达式的资料,方便以后工作时的进行资料查阅。
正则表达式(regular expression)描述了一种字符串匹配的模式,可以用来检查一个串是否含有某种子串、将匹配的子串做替换或者从某个串中取出符合某个条件的子串等。 ......
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 i ......