how to embed microsoft word in a page using php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • girishmat@gmail.com

    how to embed microsoft word in a page using php

    how to embed or open microsoft word file in a page using php script

  • Jerry Stuckle

    #2
    Re: how to embed microsoft word in a page using php

    girishmat@gmail .com wrote:[color=blue]
    > how to embed or open microsoft word file in a page using php script
    >[/color]

    Unless your MS word document has been saved in HTML, you're going to
    have a lot of problems.

    You'll probably have to find some ActiveX control which will allow you
    to convert the MS word page to HTML then output it. And I don't know if
    such a thing exists.

    Try to open the document directly in your browser
    (file://path_to_documen t) and see what you get!

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Steve

      #3
      Re: how to embed microsoft word in a page using php

      On Fri, 10 Feb 2006 12:12:22 -0800, girishmat@gmail .com wrote:
      [color=blue]
      > how to embed or open microsoft word file in a page using php script[/color]
      What use is this to me with my linux based desktop?

      Comment

      • Steve

        #4
        Re: how to embed microsoft word in a page using php

        [color=blue]
        > how to embed or open microsoft word file in a page using php script[/color]

        See this thread on how to set headers that give the browser a hint on
        how to download the document...

        <http://groups.google.c o.uk/group/comp.lang.php/browse_thread/thread/f45839d069ee5c8 0/f0ab5dc279ceac4 e#f0ab5dc279cea c4e>

        ---
        Steve

        Comment

        • d

          #5
          Re: how to embed microsoft word in a page using php

          "Steve" <ThisOne@Aint.V alid> wrote in message
          news:pan.2006.0 2.12.07.40.49.1 08106@Aint.Vali d...[color=blue]
          > On Fri, 10 Feb 2006 12:12:22 -0800, girishmat@gmail .com wrote:
          >[color=green]
          >> how to embed or open microsoft word file in a page using php script[/color]
          > What use is this to me with my linux based desktop?[/color]

          Who the fuck cares about you or your linux desktop? :) Did the OP say he
          was coding it for you? No.


          Comment

          • Jim Michaels

            #6
            Re: how to embed microsoft word in a page using php

            This should have been posted in alt.html or something like that.

            <object></object> inserts an object, such as an image, document, or applet
            into the HTML document.
            attributes:
            codetype= specifies the mimetype for code. for details, see
            ftp://ftp.isi.edu/in-notes/iana/assi...s/media-types/ you can probably
            ignore this one.
            classid="url" identifies the resource to be used for object rendering
            codebase="url" identifies the code base or location of programming code for
            the object. you can probably ignore this one.
            data="url" identifies data for the object. the URL syntax depends on the
            object.
            declare defines the object withour activating it. use when
            cross-referencing to an object later in the same document, or when using an
            object parameter in another object.
            height="number" some objects can violate this parameter.
            width="number" suggested width for the object.
            shapes specifies that the object has shaped hyperlinks.
            standby=message sets the message to show while loading the object.
            tabindex=number specifies the elements navigation order as a positive or
            negative integer.
            type=mimetype specifies the mimetype. for details, see
            ftp://ftp.isi.edu/in-notes/iana/assi...s/media-types/
            usemap="url" specifies the imagemap to use with the object.

            example:
            <object data="file:///C|/myfile.doc" type="applicati on/msword"
            style="width:50 0;height:500;"> </object>

            I didn't have to specify the width or height. works in IE.
            this may or may not work in firefox. you will have to try it. it should
            work though.


            "Jerry Stuckle" <jstucklex@attg lobal.net> wrote in message
            news:_7WdnbjDJP EMgHDeRVn-sg@comcast.com. ..[color=blue]
            > girishmat@gmail .com wrote:[color=green]
            >> how to embed or open microsoft word file in a page using php script
            >>[/color]
            >
            > Unless your MS word document has been saved in HTML, you're going to have
            > a lot of problems.
            >
            > You'll probably have to find some ActiveX control which will allow you to
            > convert the MS word page to HTML then output it. And I don't know if such
            > a thing exists.
            >
            > Try to open the document directly in your browser
            > (file://path_to_documen t) and see what you get!
            >
            > --
            > =============== ===
            > Remove the "x" from my email address
            > Jerry Stuckle
            > JDS Computer Training Corp.
            > jstucklex@attgl obal.net
            > =============== ===[/color]


            Comment

            Working...