Bug #15842 Updated: Fopen function
| From: | torben@php.net | Date: | Sun, 03 Mar 2002 05:33:23 +0000 |
| Subject: | Bug #15842 Updated: Fopen function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1524@lists.php.net to get a copy of this message | ||
ID: 15842
Updated by: torben@php.net
Reported By: rybuddy@hotmail.com
-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] rybuddy@hotmail.com
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