Results 1 to 4 of 4

Thread: Automatically Emailing An Excel File

  1. #1
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Automatically Emailing An Excel File

    Hi all... Initially I had to make a php page that would email each week information about new members of a site... That was fine I just used a cron job running the php page weekly... Now I've been asked to set up the email so it sends an Excel file of the data automatically... Does anyone know if this would be even possible?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You could do csv, etc. fairly easily, but excel is a proprietary format of microsoft, so you'd have to reverse engineer that, etc., which is even in a grey area of legality.

    The other option would be to output a format that excel could import, such as csv, html tables, etc. I know excel can try to import those, but I'd test it out to see which works flawlessly, then generate it like that.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    So is it illegal to download data as an .xls format is that what you are saying? I didn't know jeez...

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I'm not saying it's illegal.

    I'm saying it's questionable since the format is owned by microsoft. I really don't care all that much, personally, but what i'm saying is that it isn't open source, certainly, so it's not just something you can look up and copy.

    I see no problem in using a file from excel out of excel, since you own both a license to excel and own the contents of the file, so what you do with them is your choice. But the issue is just getting a way to access the format which is, as I said, only questionably attainable.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •