Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    17

    Question Unanswered: how to force download?

    hi all,

    i am messep up with problem? how to force download for files like jpg or other image files....

    defaulf baheviour is IE just opens the file in the browser.

    is there ne solution?
    if so. pls rply

    awaiting

  2. #2
    Join Date
    May 2005
    Location
    Hull
    Posts
    22
    You can use the content disposition header...

    PHP Code:
    header('Content-Disposition: attachment; filename="filename.ext"'); 
    "I hate quotes, tell me what you know"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •