Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PHP Download problem...

  • 29-06-2006 11:54am
    #1
    Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭


    PHP problem ...
    secure download script ...
    http://localhost/getfile/?DFID=253&filename=/BOB-1.1-11.zip
    

    Which sets up a file for download that isn't available publicly ...

    Now my problem is IE wants to rename that file to ...
    BOB-1[1].1-11.zip
    

    My script is sending the following headers ...
      header( 'Pragma: ' );
      header( 'Cache-Control: ' );
      header( 'Content-Length: $contentLength' );
      header( 'Content-Type: $mimeType' );
      header( 'Content-Disposition: attachment; filename="'.$filename.'"' );
    

    Anyone got any ideas ? :)
    I know its an issue with IE wanting to change the version of the filename due to the numbers in the filename ... and no changing the filename isn't an option :)
    cheers


Advertisement