diff options
author | chai <chaifix@163.com> | 2022-03-22 20:42:48 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2022-03-22 20:42:48 +0800 |
commit | f980b021f1f1df132c4599cb4c1fb127a1ae289a (patch) | |
tree | 55c1cf92b0465e238a5ce99d73e883d860d5ab80 /admin_new_album.php | |
parent | 627b8e416d138112ad20b1299aca21dccebcd11c (diff) |
+ album
Diffstat (limited to 'admin_new_album.php')
-rw-r--r-- | admin_new_album.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/admin_new_album.php b/admin_new_album.php new file mode 100644 index 0000000..aed04d6 --- /dev/null +++ b/admin_new_album.php @@ -0,0 +1,21 @@ +<?php require_once 'upload.php'; ?> +<?php require_once 'utils.php';?> +<?php require_once 'config.php';?> +<?php require_once 'music.php';?> + +<?php + +// 靠表单中是否有mid区分是否是修改 + +$album = get_album_from_post(); + +println($album); + +if($album != null) { + write_album_to_db($album); +} + +// 跳转 +//header('Location: '.'index.php'); + +?>
\ No newline at end of file |