01 2013 档案
PHP页面传值的6种获取方法
摘要:PHP页面传值的6种获取方法1、PHP4以后获取传值的方法一般在页面中传值常见的是POST、GET和COOKIE几种,所以下面我也主要介绍这几种。PHP4以后都采用的是$_POST、$_GET等数组来获取网页传值。在PHP3.0及以下版本都是用的是$HTTP_POST_VARS、$HTTP_GET_VARS等数组,具体代码如下echo $_POST['dopost'];?>< form action="weste_net.php" method="post" name='form1' id="form 阅读全文
posted @ 2013-01-15 11:55 睡着的糖葫芦 阅读(7989) 评论(0) 推荐(0)
iframe无刷新上传文件
摘要:form.html<form enctype="multipart/form-data" method="post" target="upload" action="upload.php" > <input type="file" name="uploadfile" /><input type="submit" /> </form> <iframe name="upload" sty 阅读全文
posted @ 2013-01-07 10:09 睡着的糖葫芦 阅读(2852) 评论(0) 推荐(2)