Отправка файлов средствами PHP

Вот HTML

  <form>
        <div>
            <input type="text" class="form-control" placeholder="Invest offer">
        </div>
        <div>
            <label for="customAttach">Attach business plan</label>
            <input type="file" id="customAttach">
        </div>
        <button type="submit" class="btn btn-secondary">Send</button>
    </form>

Как сделать отправку файлов на почту с помощью PHP? Желательно чтобы было через ajax


Ответы (0 шт):