Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default Documents on the fly in PHP

    I want to create a .doc file in PHP, the only method I found "easy" was to save the document as a html doc (in word with all the layout done etc) and then replace parts like {name} (str_replace etc), then save it with a .doc extension - it worked. However, I want an easier method to be able to do this, so you know any PHP classes or a better methods to create documents please tell me.

    P.S I dont want to create PDFs as I want it openable in word.
    Hi, names James. I am a web developer.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    You can use COM but then it would only work on a Windows Server with Office installed.

  3. #3
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    I think I'll just create the page in html with the data in, allowing them to then edit the details then submit to convert it into a pdf. Im on a linux box so its a no no unfortunately.
    Hi, names James. I am a web developer.

  4. #4
    Join Date
    Dec 2007
    Posts
    132
    Tokens
    0

    Default

    what if you use openoffice.org or even abiword? I don't really know just asking :]

    Waz ;]


Posting Permissions

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