Yes, you're right. I apologize, I was confusing $n with $check.Quote:
...this will reach 11. It's just a count.
But you decided to post it for others to use. You should always assume they have the minimal requirements when making a script public; that means no short tags, and no relying on config options that aren't always on by default.Quote:
btw, I've used the file commands before, so I'm assuming that allow_url_fopen is working... so.... yeah.
You are. md5() returns a hexadecimal string, meaning it contains only digits from 0 to F.Quote:
I'm kinda lost in the last paragraph. From what I've seen, md5 doesn't just do those characters, but all letters, plus caps. I might be imagining this, though, in which case, yeah, you're right...
What "complex commands?" The only thing you could possibly have had trouble with was fsockopen(). The rest is just simple looping and string manipulation.Quote:
Your code didn't really make sense to me 'cause a lot of it was complex commands I'm unfamiliar with...
So if one of your mirrors is down, all the people who would normally be sent to that mirror can't download your file?Quote:
Also... the only reason mine is too complex is that it does the loop to move to the next one if it's an error..... I don't really need that. Heh.
