
php
whitewater_fishman
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
get和post区别
1、get是服务器上获取数据,post是想服务器传送数据。2、get是把参数数据队列加到提交表单的action属性所指的URL中,值和表单内各字段与其内容一一对应,在URL中可以看到。 post是通过http post机制,将表单内各个字段与其内容放置在html header内一起传送到action属性所指的URL地址,用户看到这个过程。3、对于get方式,服务器端用requ转载 2016-11-21 09:04:44 · 257 阅读 · 0 评论 -
简单的注册登录页面
1、register.html 用户注册页面表单注册页面function checkForm(){ var username = document.getElementById("username"); var password = document.getElementById("password"); if(username.value == ""){ alert原创 2017-01-05 23:02:56 · 3444 阅读 · 0 评论 -
用PHP简单地备份mysql数据库
<?php$dbname = "php100";$sqlfile = "";$mysqli= new mysqli("localhost","root","070423");$mysqli->select_db($dbname);//获取一个结果集对象,$tq = $mysqli->query("show tables from $dbname;");while($tr=$tq转载 2017-01-08 13:16:45 · 314 阅读 · 0 评论 -
PHP sendmail的配置与简单测试
一、下载sendmail包 解压放置到任意目录下! 二、配置文件 配置php.ini 配置sendmail.ini三、测试if(mail("386258023@qq.com","test","test email")){ echo "nice~";}else{原创 2017-02-05 21:16:52 · 868 阅读 · 0 评论