PHP Classes
elePHPant
Icontem

Shiki PHP Proxy Request to Another Server: Retrieve and zip a file from a remote server

Recommend this page to a friend!
  Info   View files Example   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-02-08 (16 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 43 This week: 1All time: 9,738 This week: 387Up
Version License PHP version Categories
shikiproxy 1.0.0The PHP License5HTTP, PHP 5, Files and Folders, Compr...
Description Author

This package can be used to retrieve and zip a file from a remote server.

It can take a given URL of a file in a remote server and retrieves its contents.

The class can compress the file in ZIP format and serves it for download.

  Performance   Level  
Name: Chouchen <contact>
Classes: 3 packages by
Country: France France
Age: ???
All time rank: 389299 in France France
Week rank: 15 Up2 in France France Up
Innovation award
Innovation award
Nominee: 1x

 

Details

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', 'http://mywebsite.com');

in index.php

RewriteBase /

in .htaccess

mail('email', ...);

in FileToZipEmail.php

Contact : http://shikiryu.com/contact

  Files folder image Files  
File Role Description
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file download.php Example Example script
Plain text file FileToZip.php Class Class source
Plain text file FileToZipDispatcher.php Class Class source
Plain text file FileToZipEmail.php Class Class source
Accessible without login Plain text file index.html Data Download file page
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file shortcut.php Example Example script
Plain text file ToDownloadIndex.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:43
This week:1
All time:9,738
This week:387Up