php-windows Digest 24 Jan 2005 11:59:21 -0000 Issue 2549

Topics (messages 25435 through 25436):

Re: Random
        25435 by: Henrik Hornemann

Re: why does my php5.03 do not load php_oci8.php ?
        25436 by: Edin Kadribasic

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Hi,

First take a look at the notes to rand() in the manual, there are
several examples on how to generate random strings. To awoid
duplications you could just put the used ones in an array and check
every new one with in_array().
Alternativly, if you dont want to use arrays you could write a non
repeating hash function and use microtime as the call value.

Hth Henrik Hornemann 

-----Oprindelig meddelelse-----
Fra: SargeTron [mailto:[EMAIL PROTECTED] 
Sendt: 19. januar 2005 18:10
Til: [email protected]
Emne: [PHP-WIN] Random

"How can I create a random string"

rand() only returns an int (number), but I would like something like
dd75$6*, you know, containing any character. I would like it only to do
a certain string ONCE, so there are no duplicates (in a for loop).
Hopefully I won't need to do a huge array. Any suggestions?

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

--- End Message ---
--- Begin Message ---
You need oracle client version 8.1 or newer installed on your system.

Edin

----- Original Message ----- 
From: "yuegong" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, January 22, 2005 9:02 AM
Subject: [PHP-WIN] why does my php5.03 do not load php_oci8.php ?


> Hi;
>
>     My system is win2000+php5.03cgi , other extensions like gd2 is ok .
But when I want to use php_oci8.dll, it says "Unable to load dynamic library
'd:/php/php_oci8.dll'" , the path is correct, why ?
>
> thanks
>
> yuegong
>

--- End Message ---

Reply via email to