If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

have vbs script and javascript but need php

created and used the VBS script a long time ago; recently switched servers so VBS script doesn't work. javascript also appears not to work though. sigh. There are a lot of .php files here so I'm thinking now that is what's needed.

Can the following script run in PHP? What it does is only list a single link on a webpage but clicking that one link then randomly redirects to any one of a prespecified set of possible links.

I've never done PHP before so apologize if this sounds doesn't make sense.

Thank you. Is shuffle truly random? I only ask as I have googled and recently found a function called "rand"; they want to use this small script to assign people to surveys so it needs to be truly random.