Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

PHP Downloader Script

Hello if anyone could help out with this it would be great.

Just looking for a basic PHP Script that will download from specified URL and execute the file.

PM me if you are able to do this or just post it here to help out the community! Thanks!
You can save files as a blob in a db for example, you can fetch the blob from the db and simply spit it out on the page.

Code
header("Content-Type: application/exe");
header("Content-Disposition: attachment; filename=foo.exe");
header("Content-Length: $size");

If the content type varies, make sure to also store the content type in the db.
[Image: m7EgqG6.png]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by SkunT3lloNov 24, 2018 04:06 PM 13 394 Nov 24, 2018 04:06 PM
Last Post: Skidsuper
[PHP] by ApplefruitNov 22, 2017 02:57 PM 7 218 Nov 22, 2017 02:57 PM
Last Post: Applefruit
[PHP] by FuroremSep 30, 2015 04:00 AM 5 211 Sep 30, 2015 04:00 AM
Last Post: Squito