[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Cobalt Path Root



"Adrian Faulkner" <adrian.faulkner@xxxxxxxxxxxxxxxxxx> wrote:
> I'm trying to write PHP script to upload an image from a web form to my
> RAQ3.
>
> Obviously I have to tell it the root path, but am a little confused
(nothing
> new there!)
>
> Do I use: /home/sites/siteX/web/imagedirectory

That looks good.

> I've chmodded the directory, do I need to do anything else?

Don't forget that after the file is uploaded, it's stored in a temporary
file which must be copied to your desired location using
move_uploaded_file().

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/