PHP Classes

File: view/func/form/file.php

Recommend this page to a friend!
  Classes of Ahmad Mustapha   Simple React PHP HTTP Server   view/func/form/file.php   Download  
File: view/func/form/file.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Simple React PHP HTTP Server
Pure PHP HTTP server using ReactPHP library
Author: By
Last change:
Date: 2 years ago
Size: 1,199 bytes


Class file image Download
<?php require dirname(__DIR__, 2) . '/includes/header.php' ?>
<div class="row justify-content-center mt-5">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">File Upload</div>
                <div class="card-body">
                    <form action="/func/form/upload" method="post" enctype="multipart/form-data">
                        <div class="input-group">
                            <input type="file" name="avatar" class="form-control" placeholder="File">
                        <div class="input-group mt-2">
                            <textarea name="comment" class="form-control" placeholder="Write some comment here"></textarea>
                        <div class="d-flex justify-content-end">
                            <button type="submit" class="btn btn-md btn-primary mt-2">
                                <i class="bi bi-upload"></i> Upload
<?php require dirname(__DIR__, 2) . '/includes/footer.php' ?>