Jump to content

Download on Sumbit


GrumpyBum84

Recommended Posts

Hi All,

 

Something that should be so simple here but I have struck a complete loss, I have tried and googled and tried but ever since CrazyDomains updated there interface I cannot get a simple download to work for users and it is annoying me.

 

This has always worked before,

if(isset($_REQUEST['downThis'])) {
    $downFile = 'Location: http://downloads.jaradsc.co.nz/' . $_REQUEST['downThis'];
    header($downFile);
}

However, since the upgrade I cannot get this to work. All I get is this

error_one.png

 

I have tried all different header strings, getfile(), ob_start() etc but I cannot get this working.

 

This example is here, http://downloads.jaradsc.co.nz/index.php?gipdb and at this time I have stripped it down to the most basic it can be trying to get this to work. Click submit (no other details required) to get the error.

 

Any assistance will be great thank you.

 

Jarad

post-137263-0-89650300-1378168401_thumb.png

Link to comment
https://forums.phpfreaks.com/topic/281801-download-on-sumbit/
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.