-
PHP-GTK 说明及其应用
[PHP教程] 2022-01-18 15:30:41 196人阅读
1. PHP-GTK介绍 1.1 PHP-GTK:PHP-GTK是PHP的延伸模组,它可以让程式设计师写出在客户端执行的、且独立的GUI的程式。这个模组不允许在浏览器上显视GTK+的程式,它一开始就是开发来写独立的GUI程式的。 1.2 GTK:GTK原...[详细]
-
在PHP中以root身份运行外部指令
[PHP教程] 2022-01-18 15:30:10 148人阅读
在PHP中运行只有root用户才可以运行的外部程序,一直是个老问题,用常规的办法很难实现,这是因为一般情况下,PHP是作为APACHE的一个模块的,也就是说,PHP是APACHE的一部分,而APACHE除了suEXEC机制外,是不能以不同...[详细]
-
BS结构中运用PHP访问ORACLE LOB
[PHP教程] 2022-01-18 15:29:21 199人阅读
摘要:本文介绍了如何利用PHP的数据库访问技术实现对ORACLE LOB数据对象的存储。 关键字:PHP;ORACLE; LOB;存储; 引言:PHP,即PHP: Hypertext Preprocessor,是一种广泛用于 Open Source(开放源代码)并可以嵌...[详细]
-
PHP线程安全和非线程安全版本的差别
[PHP教程] 2022-01-18 15:28:50 107人阅读
我在在php管方下载php版时会看到有一个,None-Thread Safe与Thread Safe版了,那么这两个版本到底有什么区别,但仔细一下看面有介绍是建义我们使用线程安全,而非线程序安全用于测试。 先从字面意思上理解,None-Thr...[详细]
-
php pdo_mysql未安装问题处理方法
[PHP教程] 2022-01-18 15:28:23 172人阅读
未安装pdo_mysql使用时会提示pdo_mysql 必须支持 请检查 pdo_mysql 模块是否正确加载了,安装方法很简单下面我来看看。 解决方法: 1.修改本地php.ini配置,以Win下的php.ini为例,找到;extension=php_pdo_mysql.dll...[详细]
-
php中Memcached连接超时问题解决方法
[PHP教程] 2022-01-18 15:27:59 104人阅读
今天起看发现服务器的nginx产生大量日志了,并且提示PHP Warning: Memcache::connect(): Can/t connect to 127.0.0.1:11211, Connection timed out (110) in,后来几经周折找出问题所在了。 在一次例行检查日志的时...[详细]
-
PHP生成CSV文件用Excel打开乱码问题
[PHP教程] 2022-01-18 15:26:37 62人阅读
PHP生成UTF-8编码的CSV文件用Excel打开中文显示乱码,是由于输出的CSV文件中没有BOM,我们只要简单处理一下即可,那么如何在PHP中输出BOM呢?在所有内容输出之前: print(chr(0xEF).chr(0xBB).chr(0xBF)); 例.php生成...[详细]
-
MAMP环境phpMyAdmin没有创建数据库问题
[PHP教程] 2022-01-18 15:25:49 122人阅读
今天发现一个很怪的事情自己在mac装MAMP环境phpMyAdmin没有创建数据库这个选项了,这个是本地安装又不是空间怎么会没有这个创建数据库权限呢,带的疑问我们一起来看看怎么回事吧。 在Windows平台上有很多PHP环境一键...[详细]
-
无法启动此程序,因为计算机丢失php_mbstring.d
[PHP教程] 2022-01-18 15:25:23 137人阅读
在使用命令行创建Zend FrameWork项目的时候,计算机提醒无法启动此程序,因为计算机丢失php_mbstring.dll。尝试重新安装该程序以解决问题。 首先,你要确定你的PHP已经包含php_mbstring.dll文件,可以查看php安装目...[详细]
-
php安装xdebug后var_dump 不能输变量内容解决办
[PHP教程] 2022-01-18 15:24:44 134人阅读
有人问为什么php安装xdebug后var_dump()不能输变量内容呢,里面的变量都是直接输出而不是把变量中的内容输出呢,下面我们只要简单的配置一下xdebug即可解决了。 php开发环境里,安装了xdebug模块后,var_dump()输出...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]