Basic ASP Randomizer Example PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: asp-randomizer.asp
  • Last update:
  • Platform: Windows
  • Language: PHP
  • Price:Freeware
  • Company: powerasp (View more)

Basic ASP Randomizer Example script description:




Publisher review:
Basic ASP Randomizer Example - The extra code added to the Randomize function ensures that you get as random a value as possible. Randomize(Cbyte(Left(Right(Time(),5),2))) RANDOMVALUE = Int((Highnumber - Lownumber 1) * Rnd Lownumber) The extra code added to the Randomize function ensures that you get as random a value as possible. Without it certain numbers will show up more often than others as computers are not very good at generating random values. There are many things you can do with the resulting value. This is just an example of using this code to generate a simple random banner rotator.

You also can use response.writes to eliminate a lot of the script tags but I wanted to keep this example simple for the newbie's. It is easier to understand this way. This code will basically give you a random Integer from a range of 1 to 10 that you do whatever you want with like make a random banner rotator. Remember you can change the highnumber and lownumber to generate a random number within a greater range.
Basic ASP Randomizer Example is a PHP script for Snippets scripts design by powerasp. It runs on following operating system: Windows.

Operating system:
Windows

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5