Skip to content

it's a php file ,you can use it upload file or download file from your web-server/uploads.it's very simple.

License

Notifications You must be signed in to change notification settings

rainysia/simple_upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 22, 2021
9d3a211 · Sep 22, 2021
Sep 15, 2020
May 29, 2019
Jan 13, 2015
Sep 22, 2021
Mar 14, 2019
Mar 3, 2016
Jul 12, 2019
Jun 1, 2015
Jun 17, 2019
Jul 30, 2021
Sep 28, 2017
Sep 14, 2020
Jul 8, 2016
Jun 16, 2015
May 20, 2019
Oct 27, 2016
Dec 18, 2019
Nov 18, 2016
Dec 17, 2019
Jun 11, 2019
Jul 8, 2016
Sep 22, 2021
Jan 13, 2015
Apr 12, 2018
Oct 8, 2019

Repository files navigation

simple_upload

It's a php file ,you can use it upload file or download file from your web-server/uploads.it's very simple.

Usage

There is including DB file, file list, file manager, shell scripts

Support big file need to change your nginx/apache, and php upload file part configuration.

nginx
    keepalive_timeout 600;
    client_max_body_size 2000m;
    fastcgi_connect_timeout 3000;
    fastcgi_send_timeout 3000;
apache
    Timeout 3000
php
    post_max_size = 2048M
    file_uploads = On
    upload_max_filesize = 2048M

uploads.php or uploads_new.php


It will help you to support simple file manager(ftp) in your web server with only one php file.

http://ip or domain/uploads.php  (old version)
http://ip or domain/uploads_new.php  // (new version, recommend this one)

uploads.php

http://ip or domain/uploads.php?user=superadmin

uploads.php can delete

Add the font mark when upload an image.
http://ip or domain/uploads.php?user=superadmin&mark_type=1&mark=@helloworld&size=18&position=1&color=255,255,255&show=0&date=1

uploads.php with image fontmark

Support image mark when upload an image.
http://ip or domain/uploads.php?user=superadmin&mark_type=2&zoom=4

adminer.php


Simple DB manager file with one php file.

http://ip or domain/adminer.php

adminer.php

file.php


Simple file manager with one php file.

http://ip or domain/file.php

file.php

punctuation_cn_to_en.sh


It will translate all chinese punctuation to english punctuation, run

./punctuation_cn_to_en.sh path[absolute path or relative path or filename]

Chinese punctuation in Wikipedia
punc

sync_git.sh


This script can sync all the folder git project.

./sync_git.sh path[absolute path or relative path or filename]

sync_git

php_laravel_shell.php


This php script can run laravel command via http

put it into you web-server and run it/php_laravel_shell.php

Remove merged branch


This script will delete upstream or origin remote repository branch Need to set keep_keywords, default_branch, protect_branches_arr

./xxx/git_branch_clean.sh /xxx/project_folder/ remote_name
./xxx/git_branch_clean.sh /xxx/project_folder/ upstream

git_branch_clean

Count DB's table's column is out-of-design or not.


This script will query schema table to calculate the column defined and do mathematics, can set the tolerance in line 412. 0.8 means reach/over the design capacity 80%. Need to set $DBsetting and $checkDBName

http://ip or domain/countDBColumn.php

countDBColumn

Backup debian system configuration


This script will backup system coonfiguration Need to set host_dir, path_user

/bin/bash ./xxx/bak_debian.sh

bak_debian.sh

Re-new XMind Zen for debian


This script will help to change XMind Zen register timestamp Need to set user_who

/bin/bash ./xxx/xmind_re_lease.sh

xmind_re_lease.sh

Sync git projects


This script will help to sync all projects under the folder

/bin/bash ./xxx/sync_git_projects.sh projects_foler origin

sync_git_projects.sh

Update debian go/bin execute script


This script will help to update golang version also the thirdparty package with their command Need to set the golang_package, golang_path,thid_packages_path, and the packages you want to build and install

/bin/bash ./go_update.sh

go_update.sh

Contact

rainysia@gmail.com

Requirements

php > 5.3, nginx or apache

Update

2015-05-12 14:59:04 add basic READ.md
2015-06-01 10:50:58 add file.php
2016-03-03 10:47:38 modify uploads.php
2018-03-02 15:28:54 add uploads_new.php
2018-11-12 14:00:36 add laravel web-shell.php
2019-03-07 15:51:22 add git_branch_clean.sh
2019-05-21 14:44:24 add countDBcolumn.php
2019-07-12 09:56:17 add bak_debian.sh
2019-12-16 18:49:25 add sync_git_projects.sh
2020-03-06 01:07:49 add go_update.sh
2020-09-14 18:48:22 support font mark
2021-09-22 15:30:58 support image mark

About

it's a php file ,you can use it upload file or download file from your web-server/uploads.it's very simple.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published