[imp] a "vacation" front end for IMP
Chuck Hagenbuch
chuck@horde.org
Thu, 12 Oct 2000 14:03:42 -0400 (EDT)
Quoting Christophe Conduche - DA <cconduche@apm-online.fr>:
> Tested with vacation-1.2.2-0.i386.rpm (and vacation-1.2.2-0.src.rpm)
> That works fine except for a "PROBLEM" : i need to write files in users
> home directory.
> for that I use fopen("ftp://user:password@server/userhomedir/afile",
> "w")
> this works only if the file doesn't exist. i solved that with a little
> patch on php4 : i removed the test that forbid to overwrite a file while
>
> doing a ftp put. (it' is fopen-wrapper.c)
> if someone has a better idea (how to write a file in a user homedir with
>
> the correct file permission?) i will consider it
What about using php's built-in ftp functions?
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
must... find... acorns... *thud*