Web temp file upload look like temp.sh/transfer.sh using PHP7, HTML on Linux and Windows
- Linux (Ubuntu, Debian, Kali Linux,...) or Windows (XAMPP, AppServ,...)
- Apache2
- PHP7 or up
curl --form "file=@<file-name>" <your-url>Example:
curl --form "file=@music.mp3" https://temp.run.goorm.iocurl <url-download> --output <file-name>Example:
curl http://temp.run.goorm.io/file/ILUGBijN0nQAPSF4TO8z/ --output music.mp3- Install dependent
sudo apt update -y
sudo apt install php apache2 git -y- Export apache2 path html
export path_install="/var/www/html"- Remove original html
sudo rm -rf ${path_install}- Clone this repo to /var/www/html
sudo git clone https://github.com/KhanhNguyen9872/temp_upload_php7.git ${path_install}- Grant all permission in /var/www/html
sudo chmod 777 ${path_install} -R- Setup Apache2 and PHP config
cd ${path_install}; sudo bash setup.sh- Start Apache2
sudo service apache2 start- Enjoy on your web!
- Download this repo here
- Download and install Web Server Program (XAMPP, AppServ,...)
- Extract it and move all file to your website folder
- Run setup-windows.bat and do with this tutorial
- Start your server and enjoy

