Random Image Display script

Random Image Display is a simple PHP script to display a random image on your Web page. It shows all image files from its directory. It can be included in other php page or called by image tag.
Script is updated to fit "register globals off" directive, because lot of users comments regards it.