Post and Get via CURL

*爱你&永不变心* 提交于 2020-01-05 08:32:32

问题


I'm trying to send information from a form and a hidden email variable (from a db) to a PHP script using cURL. I have the post items moving correctly, but I am not sure if can also send a variable vai the url. (the $_Get)


回答1:


A standard querystring should work.




回答2:


Try pulling the vars from $_REQUEST, which if i remember correctly is basically $_GET which is then overwritten by $_POST and then $_COOKIE.



来源:https://stackoverflow.com/questions/860701/post-and-get-via-curl

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!