Results 1 to 2 of 2

Thread: how to open excel file separately

  1. #1
    Join Date
    Mar 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow how to open excel file separately

    I am working on PHP and mysql,

    I set the content type to EXCEL, in the header,

    Now, that is opening in browser,
    Is there any chance to open that content in separate excel file & how to insert check box in excel file,

    thanks in advance,
    venkat
    Last edited by venkat; 03-23-2007 at 06:47 AM.

  2. #2
    Join Date
    Mar 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I used this once and it worked. I hope it helps...

    header("Content-type: application/vnd-ms-excel");
    header("Content-Disposition: attachment; filename=excelfile.xls");

Bookmarks

Posting Permissions

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