Php issue again

o man i wish i know php at 100%

well…

i need something like… everytime someone joins for ex…

www.kirupa.com

it gets a different index#.html file…

can that be done?

like

kirupa.com/index1.html
kirupa.com/index2.html
kirupa.com/index3.html

etc…

can it be done? randomly?

well you wouldn’t want to do it randomly, just in case you get the same number and it overwrites the old file.

to create files you would use fopen()

make sure that the folder you have the script running in is CHMODed to 777 and you should be able to do it.

no i dont want to create the files…

they are alredy made…

i just need that when someone joins ex. www.kirupa.com

it randomly choose which index#.html file to display…

maybe to a index.php and add a meta refresh tag… with the random number choosen…

dont know…

anyone?