Jump to content

Recommended Posts

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

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.