Jump to content

PHP and Wget (with referer)?


mulysa

Recommended Posts

Is there any way to code PHP to receive input of target download link from textbox.
Then pass the argument to wget like this

[code]wget  <url> --referer <somewhere> [/code]

in order to download it, once wget acknowledge, it should suddenly reply the target link to the browser and popup a dialog box ask user to save the file or not as usual.

Link to comment
https://forums.phpfreaks.com/topic/29417-php-and-wget-with-referer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.