ID: 15842 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Apache related Operating System: windows XP PHP Version: 4.1.2 New Comment:
The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Previous Comments: ------------------------------------------------------------------------ [2002-03-02 23:48:47] [EMAIL PROTECTED] Hi... i want to build a php file that opens one of a number of pages randomly... this is what i've coem up with. the rand function works...but i don't think the fopen function does..... i don't know if it has to do with apache or what? thanks: <? $page = rand(0, 6); if ($page = 0){ fopen ("gary1.htm","r");} if ($page = 1){ fopen ("gary2.htm","r");} if ($page = 2){ fopen ("gary3.htm","r");} if ($page = 3){ fopen ("gary4.htm","r");} if ($page = 4){ fopen ("gary5.htm","r");} if ($page = 5){ fopen ("gary6.htm","r");} ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15842&edit=1