View Single Post
Unread 21 Dec 2005, 16:09   #12
Ragnarak
Registered User
 
Ragnarak's Avatar
 
Join Date: Oct 2000
Posts: 4,944
Ragnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to beholdRagnarak is a splendid one to behold
Re: Basic PHP Help: Global Variables?

Quote:
Originally Posted by mist
dante has a fair point.

that asside, you realise that random isn't the same as unique, right?
also, why use pow when you could just write the numbers in there and save some processing time*?

*assuming that they're not done when the script 'loads'. dunno if php has any optimising.

Can you explain what Dante meant? I think he's suggesting what I'm trying to do but I can't get it working.

An 8-digit random number is fine for what we need, so yeah, not technically unique but it's ok.
__________________
I find it kind of funny
I find it kind of sad
The dreams in which i'm dying
Are the best i've ever had
Ragnarak is offline   Reply With Quote