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 Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/55433-solved-upload-help/#findComment-274257 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.