Athlon1600 / php-proxy

A web proxy script written in PHP and built as an alternative to Glype.
https://www.php-proxy.com
MIT License
296 stars 158 forks source link

Fixes multiple posted files #61

Closed achasseux closed 7 years ago

achasseux commented 7 years ago

Multiple files can be uploaded using different name for input, with array syntax [], for example :

This case is not considered when buildPostBody() method is called.

Athlon1600 commented 7 years ago

One potential problem I see here is that closing curl instance with curl_close would prevent curl_error($ch) from working properly as it would just always return false since $ch has already been closed...

achasseux commented 7 years ago

That's right, I have deleted this curl_close because it was not the issue