PHP Classes


Recommend this page to a friend!
  Classes of Chouchen   Shiki PHP Proxy Request to Another Server   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Shiki PHP Proxy Request to Another Server
Retrieve and zip a file from a remote server
Author: By
Last change:
Date: 3 years ago
Size: 655 bytes


Class file image Download

I needed a proxy because downloading exe files is forbidden at work.

Zipped file aren't.

To use it, just enter the file's URL, choose "download now" or/and "download later" For the first option, the download will start immediatly. For the other one, an email will be asked, the script will send a link to the zipped file so you can download it later. Once clicked, the link will be useless. It only works once.

To configure it, modify:

define('BASE_URL', '');

in index.php

RewriteBase /

in .htaccess

mail('email', ...);

in FileToZipEmail.php

Contact :