第一总提交方式
<form name="page_form" method="post" target="_blank" action="http://search.51job.com/jobsearch/search_result.php">
<input type="hidden" name="jobarea" value="0200">
<input type="hidden" name="funtype_big" value="2600">
<input type="hidden" name="funtype" value="0200">
<input type="hidden" name="industrytype" value="00">
<input type="hidden" name="issuedate" value="2">
<input type="hidden" name="stype" value="0">
<input type="submit" name="Submit" value="提交">
</form>第二总提交方式
http://search.51job.com/jobsearch/search_result.php?stype=0&jobarea=0200&funtype_big=2600&funtype=0200&industrytype=00&issuedate=2
第一总提交方式得到的结果符合查询条件,但是第二总提交方式得到的结果显然不符合
高手帮看看第二总提交方式提交错误在那里
<form name="page_form" method="post" target="_blank" action="http://search.51job.com/jobsearch/search_result.php">
<input type="hidden" name="jobarea" value="0200">
<input type="hidden" name="funtype_big" value="2600">
<input type="hidden" name="funtype" value="0200">
<input type="hidden" name="industrytype" value="00">
<input type="hidden" name="issuedate" value="2">
<input type="hidden" name="stype" value="0">
<input type="submit" name="Submit" value="提交">
</form>第二总提交方式
http://search.51job.com/jobsearch/search_result.php?stype=0&jobarea=0200&funtype_big=2600&funtype=0200&industrytype=00&issuedate=2
第一总提交方式得到的结果符合查询条件,但是第二总提交方式得到的结果显然不符合
高手帮看看第二总提交方式提交错误在那里
2,request.querystring如果是request应该一样
http://search.51job.com/jobsearch/search_result.php?stype=0&jobarea=0200&funtype_big=2600&funtype=0200&industrytype=00&issuedate=2的话,你就应该用 Request.QueryString(变量)
例如:<input type="hidden" name="industrytype" value="00"> : $_POST['industrytype']第二种方式在php程序里面是使用 $_GET 数组,例如:
http://search.51job.com/jobsearch/search_result.php?stype=0&jobarea=0200&funtype_big=2600&funtype=0200&industrytype=00&issuedate=2
中stype=0 在$_GET数组中就是 $_GET['stype']51job的程序肯定是采用了$_POST数组,所以两种方法的结果不同。