Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

<lilo> I've always wanted to have a web site with a big picture of a carrot on it


devel / comp.lang.php / Re: Solved my shuffle problem!

SubjectAuthor
o Re: Solved my shuffle problem!Angel

1
Re: Solved my shuffle problem!

<9c88c481-3ef0-4d84-9718-de37cb4b82fcn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=569&group=comp.lang.php#569

  copy link   Newsgroups: comp.lang.php
X-Received: by 2002:adf:df8a:0:b0:21b:9219:634c with SMTP id z10-20020adfdf8a000000b0021b9219634cmr4032773wrl.669.1656522675115;
Wed, 29 Jun 2022 10:11:15 -0700 (PDT)
X-Received: by 2002:a05:6902:90e:b0:669:5bfb:9877 with SMTP id
bu14-20020a056902090e00b006695bfb9877mr4640912ybb.323.1656522674429; Wed, 29
Jun 2022 10:11:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.php
Date: Wed, 29 Jun 2022 10:11:14 -0700 (PDT)
In-Reply-To: <tc4i4b9zxol1$.ij6pcpur1iwp$.dlg@40tude.net>
Injection-Info: google-groups.googlegroups.com; posting-host=85.253.192.76; posting-account=HfIszAoAAAC8ch6q3uChpTWUALHCfEoF
NNTP-Posting-Host: 85.253.192.76
References: <tc4i4b9zxol1$.ij6pcpur1iwp$.dlg@40tude.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9c88c481-3ef0-4d84-9718-de37cb4b82fcn@googlegroups.com>
Subject: Re: Solved my shuffle problem!
From: he12091983@gmail.com (Angel)
Injection-Date: Wed, 29 Jun 2022 17:11:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Angel - Wed, 29 Jun 2022 17:11 UTC

For others, who have had the similar problem, when they do not know if the randomize function exists or not.
Just use array.length times rand(1,100) to get the next array element, while remembering the position, which element you set as first element to existing array.

****************************************
Angel

richard kirjutas Esmaspäev, 30. september 2013 kl 20:52:22 UTC+2:
> http://mroldies.net/play200.php
>
> Decided to use an array on the page rather than using the tables.
> Each time you refresh the page, you get a different list.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor