Jump to content

Print .xls .pdf from PHP


SomeoneE1se
 Share

Recommended Posts

well the php manual has this to say about pdf http://www.php.net/manual/en/ref.pdf.php

and a google search returned this http://www.phpfreaks.com/tutorials/114/0.php

Well PDF is easy, it's Excel which is trickier, especially if it's not a Windows server since then you can't use COM. The second link isn't really what he wants to do I don't think, there's a big difference between generating a very simple XLS file and interpreting one (if you actually look at the contents of an XLS file you'll see a pretty big difference between what that script produces and what Excel does). Anyway this might do the right thing, it's a bit old but it can probably be modified/updated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...