[PHP] Is this possible with php?

2003-01-09 Thread try
I would like to know if the follwing function can be implemneted
in php with help of other tools:

using MS Word in windows, when a file is saved, can it be AUTOMATICALLY
uploaded (via http POST or other mechanism) to a server?

Currently I need to first save it on my desktop, then upload that copy
to a php-supported server.

Thanks in advance.

Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Is this possible with php?

2003-01-10 Thread try
On Fri, Jan 10, 2003 at 12:00:33PM -, Danny Shepherd wrote:
> Hi,
> 
> Where did he say he wanted to use Word to edit PHP files? AFAICT the idea
> was to automatically upload Word files, presumably to make them available on
> an Intranet for download etc.

Yes, automatically upload word file after the save button is pressed.

> As for uploading a file automatically - PHP isn't going to do it. An app
> which can map a virtual drive in Windows would probably be the best bet - I
> think Windows has built in support for mapping WebDAV and FTP servers as
> shares so this may be a good starting point.

I have looked at webdav, ftp, etc. None can solve my client's problem
without a major overhaul of the system. The problem is:

My client has a document management system (implemented in php) on a server.
It does uploads without problem. However, each time, a file get modified,
it has to be saved on local disk first and uploaded to the server by
a few more clicks. It would be nice if the application (e.g.,ms words) can save
the modified file directly to the server.

I am wondering if office suite applications can be tweaked (using macros, vb?),
so that a 'save' event will trigger an action of automatic upload. Or there
is a better approach.

Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] --enable-trans-sid ?

2002-10-03 Thread try

Hi,

I am trying to re-compile php 4.2.2. It seems that the option
"--enable-trans-sid" is no longer there (but still in the manual).
The reason for a re-compilation is that I was not able to have SID
printed out. Here is the code I tried, but SID is empty:


However, session_id() does tells the current sid.

Anyone knows why. I am using linux (glibc=2.2.5 and kernel=2.4.18).

Thanks,

-T

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php