steviez Posted June 13, 2007 Share Posted June 13, 2007 Hi, I run a image upload site and was wondering if the following is possable and if so can someone point me in the right direction. I want my site to rotate different servers, so on one upload it would go to server 1 and the next to server 2 and so on.... How would i do this? Thanks Link to comment https://forums.phpfreaks.com/topic/55433-solved-upload-help/ Share on other sites More sharing options...
Wildbug Posted June 13, 2007 Share Posted June 13, 2007 I read something about this in mod_rewrite docs this morning. About halfway down, "Load Balancing": http://httpd.apache.org/docs/1.3/misc/rewriteguide.html Also: http://www.linuxdocs.org/HOWTOs/Apache-Overview-HOWTO-7.html Otherwise, you could use PHP to randomly-dynamically assign a server in the action="" field when generating the upload form. Link to comment https://forums.phpfreaks.com/topic/55433-solved-upload-help/#findComment-274085 Share on other sites More sharing options...
steviez Posted June 13, 2007 Author Share Posted June 13, 2007 Thanks for all your help, i solved this using the php rand option. Link to comment https://forums.phpfreaks.com/topic/55433-solved-upload-help/#findComment-274257 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.