Html 对get请求中的数据进行编码
get请求的格式应类似于“searchingEngine.php?查询=%22MyProgram%22” 如何正确编码查询输入的值Html 对get请求中的数据进行编码,html,forms,get,request,Html,Forms,Get,Request,get请求的格式应类似于“searchingEngine.php?查询=%22MyProgram%22” 如何正确编码查询输入的值 <!DOCTYPE html> <html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <body onload="searchForPrograms.submit();"> <form id="searchForPro
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body onload="searchForPrograms.submit();">
<form id="searchForPrograms" name="searchForPrograms" enctype="application/x-www-form-urlencoded" method="get" action="searchingEngine.php">
<input type="text" id="query" name="query" value="MyProgram" /><br>
<input type="submit" value="Search" />
</form>
</body>