摘要: 封装缩略图函数 function thumb($filename,$scale=0.5,$dst_w=null,$dst_h=null,$isResevesource=false,$destination=null){ list($src_w,$src_h,$imagtype)=getimagesi 阅读全文
posted @ 2016-08-28 10:31 小白-前端 阅读(1061) 评论(0) 推荐(0) 编辑
摘要: 前端页面 <form action="doAction1.php" method="post" enctype="multipart/form-data"> 文件上传<input type="type" name="myFile"></br> <input type="submit" value=" 阅读全文
posted @ 2016-07-08 09:38 小白-前端 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 1.在前端页面中 <form action="doAction.php" method="POST" enctype="multipart/form-data"> 文件上传<input type="file" name="myFile"> <input type="submit" value="文件 阅读全文
posted @ 2016-07-07 15:26 小白-前端 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 关于conn.php mysql_connect('localhost','root','root') or die("数据库连接失败"+mysql_error()); mysql_select_db('ajax') or die("数据打开失败"+mysql_error()); user.php 阅读全文
posted @ 2016-06-24 00:00 小白-前端 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 1新建一个text.html页面 <!doctype html> <html> <head> <meta charset=gb2312"> <title></title> <script type="text/javascript"> window.onload=function(){ docume 阅读全文
posted @ 2016-06-18 01:22 小白-前端 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 1.frameset 和frame 其中frame必须配合frameset来使用 如下<frameset cols="100 *"> <frame src="index.php" name="mainFrame" scrolling="no" > <frame src="index1.php" na 阅读全文
posted @ 2016-04-10 22:27 小白-前端 阅读(2115) 评论(0) 推荐(0) 编辑