以及PHP中如何判断请求类型,并获得请求参数?
|
|
可以通过
|
|||
|
|
|
|
parsestr(filegetcontents('php://input'), $requestvars); 只能取application/x-www-form-urlencoded格式的数据!!!!!! |
||
|
|
|
|
可以通过
|
|||
|
|
|
|
parsestr(filegetcontents('php://input'), $requestvars); 只能取application/x-www-form-urlencoded格式的数据!!!!!! |
||
|
|