1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP and Word and Bookmark

Discussion in 'PHP' started by kolucoms6, Jan 14, 2015.

  1. #1
    I have a Word Document with 7-10 bookmarks.

    I want to enter values in that word document , based on bookmarks using PHP.

    I am using a Linux server.

    Possible ? If Yes, How ?
     
    kolucoms6, Jan 14, 2015 IP
  2. wannabeme

    wannabeme Active Member

    Messages:
    215
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #2
    I think it's easy with PHP.Just read the file and do changes and then save it.
     
    wannabeme, Jan 15, 2015 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Wow. You don't have any idea how a raw .doc / .docx-file is made up, do you? :D No, you cannot "just read and write" a .doc-file - you'd need some sort of library for working with Office-files. But, I've got to ask - WHY in the world do you hate yourself this much? Why do you want to write a .doc-file, on a Linux-server, using PHP? Why not chose another format?
     
    PoPSiCLe, Jan 15, 2015 IP