Will do that once I get a newer PHP version.  No time for it right now.  :-)

The workaround to rand() I did was to use it twice and add up the result.
For ex.

--snip--
$randomNumberLeft = rand(0,99999);
$randomNumberRight = rand(0,99999);
$randomNumber = $randomNumberLeft.$randomNumberRight;

echo $randomNumber.
--snip--

"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
It is not there, so I added it and restarted Apache.  Still got the same
result.

How is PHP is built into Apache was done by downloading the tar.gz file
from
php.net and compile it.  Then compile Apache, had it take in PHP.  So,
when
it was done, there is never a php.ini there.  So, I create one and add
some
of hte coding into php.ini file.  This is for the Unix machine.  The
only
scripting I have in php.ini so far is ...
[/snip]

You should have 2 or 3 php.ini files....usually

php.ini-dist
php.ini-optimized
php.ini-recommended

(from the command line 'locate php.ini')

You pick the one that you want to use and copy it into /etc/apache while
renaming it php.ini. My current php.ini file is comprised of 775 lines
of information and directives. As I understand it the .ini is not
required, and probaly is not affecting the rand on your machine.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to