Post and Get via CURL

2019-08-02 07:33发布

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)

标签: php url post curl get
2条回答
Viruses.
2楼-- · 2019-08-02 08:03

A standard querystring should work.

查看更多
女痞
3楼-- · 2019-08-02 08:17

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

查看更多
登录 后发表回答