Login Register






Tutorial Making your own Sig Randomizer filter_list
Author
Message
RE: Making your own Sig Randomizer #11
Will this really make your signatures random on the forums or no? Im kind of a noob :O

Reply

RE: Making your own Sig Randomizer #12
Quote:Step 1: Get your own web host

Or -- install apache on your local machine and all other requirements that you might need. XAMPP works good.

The other thing to note is that gd extensions must be enabled with the PHP installation on the web server for this to work. In the code though, why not use a dedicated prng instead of using modulo on time()? That's expensive.
Code:
$imageNumber = mt_rand(0, count($fileList) - 1); // $imageNumber = time() % count($fileList);

Reply