View Single Post
  #7  
Old 12-19-2014, 07:01 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by MysticalDragon View Post
There is also a simpler method then this that will give you the same results.

PHP Code:
function onCreated(){ 
  
temp.images = { "test1""test2"}; 
  
temp.random randomstring(temp.images);
  echo(
temp.random);

Was randomstring ever fixed? Last post I can find about it is from December 2012 indicating it's still broken:

Quote:
Originally Posted by xXziroXx View Post
It's not been fixed, I tried it a few days ago.
If it's still broken, I'd avoid it entirely (even if you're aware of how it's broken). You never know when somebody will change something without realizing you were relying on a broken function.

If it was fixed, I wouldn't use it until v6 is mandatory (or is it already?), since it's broken v5 clientside.
__________________
Reply With Quote