Wilcox
04-05-2007, 12:32 PM
Hello,
I am wanting to create a PHP Script that selects from a list of random mirrors for load balancing.
The ideal script would be named download.php and would be the only file that I need. I do not want to include other files. The way I want it to work is for somone to go to mydomain.com/download.php?=public/download.iso
So it would need to have a list of mirrors and like ftp.sub.domain.com/public and others that it selects from and then appends the filename that is in the url of the download.php script.
I am going to use this for a Linux site that I am currently setting up to download ISO's.
Because earch of the mirrors domain names and where they store them are different but the actual file name is the same I believe this will work.
If there is anyone willing to help me with this I would be eternally grateful!
Regards,
Brett
I am wanting to create a PHP Script that selects from a list of random mirrors for load balancing.
The ideal script would be named download.php and would be the only file that I need. I do not want to include other files. The way I want it to work is for somone to go to mydomain.com/download.php?=public/download.iso
So it would need to have a list of mirrors and like ftp.sub.domain.com/public and others that it selects from and then appends the filename that is in the url of the download.php script.
I am going to use this for a Linux site that I am currently setting up to download ISO's.
Because earch of the mirrors domain names and where they store them are different but the actual file name is the same I believe this will work.
If there is anyone willing to help me with this I would be eternally grateful!
Regards,
Brett
