Jump to content

baskar

Approved members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by baskar

  1. I suppose it smth with revive. I tested this simple code and it works well . But with revive I can't upload!!!

     

     

    <form enctype="multipart/form-data" action="form.php" method="post">
    <input type="hidden" name="20000000000000000" value="30000">
    Send this file: <input name="userfile" type="file">
    <input type="submit" value="Send File">
    </form>
     
    <?php
    $uploaddir = '/var/clients/revive/www/images/';
    if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploaddir . 
    $_FILES['userfile']['name'])) {
        print "File is valid, and was successfully uploaded.";
    } else {
        print "There some errors!";
    }
    ?>
×
×
  • Create New...