- 博客(4)
- 收藏
- 关注
原创 PHP sendmail的配置与简单测试
一、下载sendmail包 解压放置到任意目录下! 二、配置文件 配置php.ini 配置sendmail.ini三、测试if(mail("386258023@qq.com","test","test email")){ echo "nice~";}else{
2017-02-05 21:16:52
853
转载 用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
300
原创 简单的注册登录页面
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
3430
转载 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
244
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人