On Fri, April 20, 2007 5:11 pm, blackwater dev wrote:
> I need to allow a user to upload a file.  Once the file is up, I need
> to
> then move it to another server and wsync it to our webclusters.
> What's the
> best way to do this with php?  I don't really want php issuing root
> commands.  I've considered storing the file in the db but really need
> it to
> be scanned (they should just be images) then pushed out to my servers.

Let PHP do all the checks you can think of, and then
http://php.net/move_uploaded_file to the directory that is getting
wrsync'ed or whatever.

Let root cron job handle the sync.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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

Reply via email to