-
常见php页面漏洞分析及相关问题处理
[PHP教程] 2022-03-03 15:33:52 130人阅读
从现在的网络安全来看,大家最关注和接触最多的WEB页面漏洞应该是ASP了,在这方面,小竹是专家,我没发言权。然而在PHP方面来看,也同样存在很严重的安全问题,但是这方面的文章却不多。在这里,就跟大家来稍微的讨...[详细]
-
实用 动态网页制作技术PHP的几个应用技巧
[PHP教程] 2022-03-03 15:23:48 100人阅读
如何消灭或优化那PHP开发网站程序的代码呢? 这一点上我个人最主要的经验只有两点,一是消除错误的或低效的循环;二是优化数据库查询语句。其实还存在一些其它的优化细节,比如str_replace比ereg_replace快、echo比p...[详细]
-
运用PHP和CSS改变网页文字大小
[PHP教程] 2022-03-03 15:21:24 195人阅读
用PHP和CSS改变网页文字大小在设计网站的时候,要牢记一点:并不是所有的访问者都是神采奕奕的年轻人,而且他们也不一定完全熟悉Web浏览器的各种使用方法。 在设计网站的时候,要牢记一点:并不是所有的访问者都是神...[详细]
-
新手入门 学习了解动态网页PHP的编程语句
[PHP教程] 2022-03-03 15:21:05 98人阅读
1 简单的语句 每行至多包含一条语句,例如: 以下为引用的内容: $argv ; // 正确的 $argc--; // 正确的 $argv ; $argc--; // 错误的 2 复合语句 复合语句是包含在大括号中的语句序列,形如{ 语句 }。例如下面各段。...[详细]
-
PHP初学 示例详细学习PHP的简单语法
[PHP教程] 2022-03-03 15:11:29 61人阅读
一,PHP脚本代码标记 PHP的脚本是文件中一对特殊标记所包括的内容,如ASP是%....%,PHP可看成是?...?。 然而为了适应XML标准以将PHP嵌入到XML或XHTML中,PHP不建议使用短格式的?...?,而建议使用长格式标记?php...? ...[详细]
-
理解动态网页技术PHP与数组的运用
[PHP教程] 2022-03-03 15:10:41 51人阅读
PHP 4.0中新添加了30个与组数有关的函数,其中一些常见的函数可以判断一个数组中是否包含某个元素,对一个数组中的元素进行计数,添加或删除数组中的元素或者对数组中的元素进行排序。 如果有一个很大的数组,而你需...[详细]
-
PHP网站开发中对于包含路径问题的解决方案
[PHP教程] 2022-03-03 15:10:07 171人阅读
关于PERL与PHP中的包含路径一直是一个比较难解的问题,主要是与操作系统和WEB服务器有关,不可能非常智能化的解决这个路径问题。相对于PERL,PHP的路径好得多,解决起来也容易得多,因为PHP的相对路径在PHP程序中的...[详细]
-
用PHP完成网页开发中的翻页跳转
[PHP教程] 2022-03-03 15:09:33 129人阅读
我们都知道用 php mysql 在 web 页实现数据库资料全部显示是非常简单而有趣的,数据库资料很少的情况下页面显示还是让人满意的,但是当数据库资料非常多的情况下,页面的显示情况将会变的非常糟,下面就来介绍一下如...[详细]
-
怎样使PHP文件与HTML代码更好的分离
[PHP教程] 2022-03-03 15:09:00 119人阅读
大家都知道,php是一种服务器端的内嵌html式的脚本编程语言。可是按照内嵌html方式来作一网站的话,代码很快就变得庞大而且不可控制。如何才能使php代码与html分离,做出类似dw的lib(模板)而使得页面更加容易修改并...[详细]
-
用PHPINFO来完成PHP的配置统计过程
[PHP教程] 2022-03-03 15:08:41 183人阅读
大家都知道用于显示服务器配置的phpinfo(),是一个用于安装新服务器后非常有用的工具,并且是一个可以跟各个管理员们进行交流的非常有用的工具。 当然在使用之后,通常是移除掉它或者只是提供给少量人使用,的确,ph...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]