Generation of excel file

This is a discussion on "Generation of excel file" within the PHP Forum section. This forum, and the thread "Generation of excel file are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 18th, 2006, 13:27
New Member
Join Date: Jul 2006
Location: Hyderabad
Age: 27
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Generation of excel file

Hi,

I need code for storing my output into an excel file. I need to store this file in the server.
We are using Spreadsheet_Excel_Writer from Pear package.

I could send it as attachment. But I need to store it in the server.

Code for sending as attachment:

header("Content-type: application/vnd.ms-excel");
header("Content-Disposition: attachment; filename=$filename");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Pragma: public");

If anybody has done it before, pls help.

Thanks,
Sadanandam.
Reply With Quote

Reply

Tags
excel

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated generation of thumbnails like artviper mikka23 PHP Forum 3 Apr 6th, 2008 17:50
Creating a log file (text file) and an XML file using XSL kdelacruz Other Programming Languages 1 Nov 4th, 2006 21:12
random number generation djme PHP Forum 2 Dec 28th, 2005 05:15
Import the Excel File accessman Databases 2 Oct 8th, 2005 23:17
Excel to ASP... courtjester Classic ASP 14 Sep 27th, 2004 20:44


All times are GMT. The time now is 21:13.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43