Force Download Usage

  • Author
  • #1066437


    Hi, i’m trying to figure out how to force download a generated file that comes from a custom field in a post.

    my download.php file has:
    $filename = $_GET[‘id’];

    and then the usual switch cases and header definitions.

    my usage for calling the field is :

    Now, i need help connecting the two so that my custom field url is given an id and so that apache can apply the correct header definitions.



    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you’ll find help at the forums.

    If you don’t understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.



    This is the correct forum for issues http://wordpress.ORG/support/ If you have not registered a username account yet you can do so on the top right hand corner of the page I just linked to so you can post to those support forums. vs The Differences

The topic ‘Force Download Usage’ is closed to new replies.