|
Posted by Peter Van Hove on 06/03/05 18:31
Hi all,
Again I run into an issue (that's when you are new to php I guess)
I need to convert this to php.
Some of it is clear but I'm not sure about the random value and all, pls.
let me know how to do this properly, without too many riscs
function dlfileurl()
{
var UrlArray=new Array("org", "com", "net", "biz", "info", "org", "com",
"net", "info");
var myurl=UrlArray[Math.floor(Math.random()*UrlArray.length)];
fullurl = "http://www.downloadurl." + myurl + "/product.zip";
window.open(fullurl) ;
}
[Back to original message]
|