Jump to content

Download on Sumbit


GrumpyBum84
Go to solution Solved by 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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.