PHP: How to forward on $_FILES using cURL

Posted by Toby on Stack Overflow See other posts from Stack Overflow or by Toby
Published on 2010-06-08T01:00:31Z Indexed on 2010/06/08 1:12 UTC
Read the original article Hit count: 184

Filed under:
|
|
|

Hi. I'm trying to use cURL to forward on a http request from a form in a web application I'm developing. Essentially I need to submit the same form twice on different servers, for the second server I'm adding some security measures to the post data.

I can receive $_POST information on the second form perfectly fine, however I'm having major troubles with my $_FILES - I've tried separating the two so there's a separate request for post and files data but still no luck.

Is this possible?

© Stack Overflow or respective owner

Related posts about php

Related posts about http