Publish your project for free and start receiving offers from freelance contractors in serveral minutes after publication!

Исправить PHP скрипт

closed without completion


  1.  freelancer isn't working in the service any longer
  • Иван Руденко
    8 March 2019 |


    // POST запрос

    if ($_SERVER['REQUEST_METHOD'] === 'POST'){

       if( $_FILES ) foreach( $_FILES as $k=>$v ){

        $_POST['file_'.$k] = curl_file_create($v['tmp_name'], $v['type'], $v['name']);

       }

       curl_setopt($curlInit, CURLOPT_POST, true);

       curl_setopt($curlInit, CURLOPT_POSTFIELDS, http_build_query($_POST));

    }

  • Алексей Т. — project author
    8 March 2019 |

    Я примерно так же решил задачу. 

  • Иван Руденко
    8 March 2019 |

    :)