-
PHP发表心情投票功能示例(附源码)
[PHP教程] 2021-03-06 02:54:12 143人阅读
当浏览新闻页面或者其它页面的时候会有阅读后的感受,比如给力、淡定、打酱油、加油、坑爹等等的表情。让读者打分,看看自己的感受是否与其他读者一样。很不错的交互! 立即下载: 本文需要熟悉jquery,mysql,ajax相...[详细]
-
使用PHP连接数据库实现留言板功能的实例讲解(推
[PHP教程] 2021-03-06 02:54:12 120人阅读
PHP实现留言板功能: 1 首先是登录页面: 留言板登录 开发部内部留言板 用户名: 2 登录页面完成后要进入登录处理页面了,也就是上面提交到的messloginchuli.php query($sql,0);//var_dump($arr[0][0]);if($arr[0][0]...[详细]
-
php生成条形码的图片的实例详解
[PHP教程] 2021-03-05 19:28:12 188人阅读
php生成条形码的图片的实例详解 因为用户的需要 写了一个条形码;用php生成一个条形码的图片 这个大家应该比我要好很多的吧,在自己项目的根目录下建立一个测试文件(直接把下面的代码放进去运行一下看看,我也是抄袭...[详细]
-
php之可变函数的实例详解
[PHP教程] 2021-03-05 19:28:12 113人阅读
php之可变函数的实例详解 php的可变函数,今天大概的了解下,是看php手册总结的,觉得用处不大; PHP 支持可变函数的概念。这意味着如果一个变量名后有圆括号,PHP 将寻找与变量的值同名的函数,并且尝试执行它。可...[详细]
-
PHP实现一个多功能购物网站的案例
[PHP教程] 2021-03-05 19:28:12 114人阅读
一、需要实现的页面: Index.aspx:浏览商品页面,显示商品列表,用户可以点击“加入购物车“。 ViewCart.aspx:查看购物车页面,显示已购买的商品信息,可以点击“删除“和“提交添加订单购买”商品 ViewAccount.as...[详细]
-
PHP 实现公历日期与农历日期的互转换
[PHP教程] 2021-03-05 19:27:37 106人阅读
PHP 实现公历日期与农历日期的互转换 前言: 今天根据客户的需求对时间进行了转换,就是客户要求增加农历日期的显示,在网上抄袭了一段,稍微修改了一下运行成功了,不难的,改动的很少的. 示例代码: 31,28,31,30,3...[详细]
-
PHP memcache在微信公众平台的应用方法示例
[PHP教程] 2021-03-05 19:26:14 151人阅读
本篇章节讲解PHP memcache在微信公众平台的应用方法。分享给大家供大家参考,具体如下: 现在微信公众平台大多数互动都是用户发送信息->微信分析并返回结果,这种模式功能比较单一。这里介绍另一种互动模式:用户发...[详细]
-
PHP使用微信开发模式实现搜索已发送图文及匹配
[PHP教程] 2021-03-05 19:20:11 199人阅读
本篇章节讲解PHP使用微信开发模式实现搜索已发送图文及匹配关键字回复的方法。供大家参考研究具体如下: 用户发送关键字,搜索相应的图文进行回复。 模拟登陆就不说了 右键看“已发送”图片页的源代码,图文部分是js...[详细]
-
使用PHP+MySql+Ajax+jQuery实现省市区三级联动
[PHP教程] 2021-03-05 19:20:11 96人阅读
使用PHP+MySql+Ajax+jQuery实现省市区三级联动功能 要求:写一个省市区(或者年月日)的三级联动,实现地区或时间的下拉选择。 实现技术:php ajax 实现:省级下拉变化时市下拉区下拉跟着变化,市级下拉变化时区下拉...[详细]
-
PHP简单实现模拟登陆功能示例
[PHP教程] 2021-03-05 19:11:11 95人阅读
本篇章节讲解PHP简单实现模拟登陆功能。供大家参考研究具体如下: 在不考虑验证码的情况一下,php实现模拟登陆,网上给的办法一般是采用curl来模拟实现,但是curl实现的是服务器端与服务器端建立了会话,只能模拟登...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]