I need a random image script, but not just any random image script, a random image script which will do the following: Part 1: Update Script It parses a directory, and adds the paths to each file to a mysql database, then assigns each file a number. This also sets the file count in the directory to the maximum number in part 2. Part 2: Display Script This generates a random number between 1 and the max (set by part 1), and displays the corresponding image in the path that corresponds to the number. Must work in image tags.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
Red Hat Linux 9.0, Must be done in php and mysql.