Nick Wilson wrote: > hi, > > i have thttpd (a very light weight http server) running as an image > server on one box, and users uploading images to another php/apache > powered box. > > I need to let users upload to the regular LAMP box, but then copy the > image over to the custom image server (which does not have php or any > kind of cgi capability). > > I was considering using exec() and scp to do this, but thought i'd ask > and see if anyone had any better suggestions? For what it's worth, I'm reading a book just now about scalable PHP Websites and the author (one of the creators of Flickr) documents this issue as an example. At Flickr they created their own custom file transfer protocol system to move uploaded images to the image processing and storage system. So there you go. From one of the more successful image processing websites, this is howto do it :) The overhead with all the other options proved too much. THey had originally used NFS but moved to this custom approach after this became unreliable/inefficient. Hope that helps. Col. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php