Jump to content

[SOLVED] Upload help


steviez

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.