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)
It looks like this would work. I'm thinking about appending onto the add post query string with code like thiscurl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($_POST).'
Tim
2009-05-14 14:48:29
A:
Try pulling the vars from $_REQUEST, which if i remember correctly is basically $_GET which is then overwritten by $_POST and then $_COOKIE.
tephlon
2009-05-13 22:21:52
That is a big no no in my book. Try using register_globals = on, that might simplify the process even more! =))
Alix Axel
2009-05-14 12:05:02