# Php issue again

**URL:** <https://forum.kirupa.com/t/php-issue-again/24624>\
**Category:** Uncategorized\
**Created:** [July 2, 2003, 10:54pm UTC](https://forum.kirupa.com/t/php-issue-again/24624 "2003-07-02T22:54:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thediablo](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@thediablo](https://forum.kirupa.com/u/thediablo)\
**Post date:** [July 2, 2003, 10:54pm UTC](https://forum.kirupa.com/t/php-issue-again/24624/1 "2003-07-02T22:54:02Z")

</div>

o man i wish i know php at 100%

well…

i need something like… everytime someone joins for ex…

[www.kirupa.com](http://www.kirupa.com)

it gets a different index#.html file…

can that be done?

like

[kirupa.com/index1.html](http://kirupa.com/index1.html)  
[kirupa.com/index2.html](http://kirupa.com/index2.html)  
[kirupa.com/index3.html](http://kirupa.com/index3.html)

etc…

can it be done? randomly?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 1:52am UTC](https://forum.kirupa.com/t/php-issue-again/24624/2 "2003-07-03T01:52:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 3:31pm UTC](https://forum.kirupa.com/t/php-issue-again/24624/3 "2003-07-03T15:31:57Z")

</div>

no i dont want to create the files…

they are alredy made…

i just need that when someone joins ex. [www.kirupa.com](http://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…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 3, 2003, 9:05pm UTC](https://forum.kirupa.com/t/php-issue-again/24624/4 "2003-07-03T21:05:57Z")

</div>

anyone?
