Please send responses to the newsgroup.  I am usually happy to help you
out, but I do need to keep things organized / slightly sane on my end :)

The short answer to your question below: yes you can use Word with PHP
and depending on your needs this might happen on the server or you might
just send a Word document to a browser with the correct mime-type.

Based on what you say in your message what you want to do is read the
file's contents on the server side.  You don't even need to open Word to
do this.  Then when you get the file contents you can send the MIME
header and the content of the file to the browser.  Note that this
doesn't *force* the user to open the file through Adobe etc. but it
gives the browser an idea of what to do with the file and gives the user
that option.

Oh, and be careful which files you decide to make public and be
*especially* careful which files you allow people to edit and put on the
server.  You probably already know that, but it doesn't hurt to be
reminded from time to time :)


-------- Original Message -------- Subject: Re: [PHP-WIN] Re: SESSION Date: Fri, 11 Feb 2005 11:43:24 +0530 From: Vaibhav Sibal <[EMAIL PROTECTED]> Reply-To: Vaibhav Sibal <[EMAIL PROTECTED]> To: php <php-windows@lists.php.net>, Jason Barnett <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Thanks Jason ! It'll be great if you could also tell me whether I can
launch applications like MS WORD using COM or any other technology.
Basically I want the user sitting on a client machine  to select a
file from a list and press the open button (which I will provide) and
the action linked to the open button should be that of opening the
file in the appropriate software . For eg. The user sitting on the
client side select a file image001.jpg and presses open, and it
automatically gets opened in Adobe photoshop. That kind of thing I am
talking about. The only thing to be taken in mind is that the client
does not have a PHP parser installed and is not running a webserver
either. The file list comes from the server only, which is actually
running  the webserver and the PHP parser also. ! Please provide some
insight on this.


On Thu, 10 Feb 2005 17:36:05 -0500, Jason Barnett <[EMAIL PROTECTED]> wrote:
Vaibhav Sibal wrote:
> I wanted to ask, where is the Session information stored ? That is at
> the server or on the client. Because I need to give the
> session.save_path value in the php.ini. I would give it according to
> people's reply of this question. Thank you.
>
> Vaibhav

session.save_path is located on the server.  Session data is stored on
the server; typically the only thing that gets sent to the user is they
will have a cookie written (wherever the web browser writes its cookies).

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins





--
Jason Barnett
Destiny Capital LLC
Phone: 937.832.6900 x1054
Fax: 937.832.1570
GPG Public Key ID: 0x74D2856A


CONFIDENTIALITY NOTICE: "The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, an disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful."

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to