![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
文章平均质量分 78
JophyYao
一个各方面成熟中的coder, 在这里记录成长的点滴。
展开
-
php 面向对象 笔记
example:class c1 {protected $module;function __construct($module) { $this->module = $module;}}class c2 extends c1 { function __construct($module, $ip) { parent :: __construct(原创 2012-11-25 19:27:28 · 352 阅读 · 0 评论 -
PHP调用java的class
PHP调用java的class有2种方法1、种是用php自身带的模块调用java(不过经过网友的证明发现这种方法不好)我没用。2、通过php-java-bridge模块调用java。(经过网上普遍推荐)我使用了这张方法。下面介绍如何在linux下安装这个包。1、先安装java环境、apache、php等相关环境(安装方法略)。2、下载php-java-bridge包(目前我原创 2012-11-26 22:49:54 · 387 阅读 · 0 评论 -
CodeIgniter study notes
Official Handbook:http://ellislab.com/codeigniter/user-guide/index.html URL:example.com/class/function/IDRemoving the index.php fileYou can easily remove this file by using a .htaccess f原创 2012-11-27 11:19:19 · 480 阅读 · 0 评论 -
php 作图类JpGraph 使用
PHP绘图类库jpgraph,下载地址:http://www.aditus.nu/jpgraph/jpdownload.php开始以为他不支持中文,所以先在网上找了教程,教程写着要设置字库路径等。结果我下的那个版本一点都不用设置人家就写好了。如果是WIN系统就是根据环境变量找到系统的要目录。在加上“/fonts/”从而自动就找到字体了。当然如果是UNIX你可以把你WINDOWS/F原创 2012-11-24 13:30:38 · 560 阅读 · 0 评论 -
PHP phpmailer使用
phpmailer 下载地址:http://sourceforge.net/projects/phpmailer/files/phpmailer%20for%20php5_6/下载完成后,找到class.phpmailer.php 、class.smtp.php, class.pop3.php 三个类放到自己的目录下! code:include_once ("class.php原创 2012-11-24 12:21:19 · 439 阅读 · 0 评论 -
PHP操作MongoDB
php的话首先从网上下载MongoDB的扩展包,https://github.com/mongodb/mongo-php-driver/downloads,选择对应的扩展包。这是我下的,然后解压,VC6适合apache,VC9适合IIS,ts(thread safe)指PHP以模块形式运行的。然后把其中的php_mongo.dll放在PHP中的ext文件夹中,然后在PHP.原创 2012-11-25 19:46:58 · 698 阅读 · 0 评论