Hello there, and welcome to the first programming contest in CronWerks!
So to start off with the programming contest range, we chose something simple - yet challenging for everyone.
Your goal:To create a single script using PHP to list the images that match a certain criteria within a given directory on the web-server, and show the results as simple text, with a image in the left-hand side of the page.
Detailed objectives: There is a directory within a script's privileges, that holds a couple of images.
List all images that has GIF, JPG, PNG and BMP extensions - use lowercase extensions for simplicity.
Display an image no larger than 20 pixels in diameter, that's within the image's original aspect ratio.
Display a result after the listing of the total files displayed.
Hints:The script that is most similar to the one I created will win.
The script I created has roughly 8 lines, excluding open- and closing tags.
Screenshot of how my script produces the result can be located
here(NOTE: Your version should not contain stylesheets).
If you might have any questions regarding this competition, please feel free to ask in this thread.
Please PM "Spudinski" with either a text file containing your script, or just as raw text.
DO NOT POST YOUR SCRIPT HERE.May the best programmer win,
Spudinski