curl请求的url中含有空格时(例如rul的参数是sql查询语句,url=www.tets.com/query.php?sql=select * from t1),curl_easy_perform()将不会得到正确的结果。

需要处理一下空格,用%20替换掉每一个空格,即将select * from t1换成select%20*%20from%20t1

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2022-03-08
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案