title: one single image url for an avatar to display random image from a folder (server-side php script)
body: <p>a long time ago i once did found a php script that contained only about 6 short lines of it if i remember correctly. Yet no luck, i couldn't find anything like that anymore, so i am gonna ask for help from you. </p>
  
  <p>It was only one file "rotate.php" and a folder that contained all by myself chosen images, the script was supporting different dimensions and with different extensions (jpg, png, gif) as i remember. </p>
  
  <p>Script generated one single url that could be used as an image url for an avatar or between [img] tags on forums with bbcode support. </p>
  
  <p>Respectively, when someone visits my forums profile or sees my comment on forums, per every visit/refresh it always shows a random image as my avatar. </p>
  
  <p>There seems to be many simple variations to create a random image slideshow for my own websites logo or something, but i can't figure a way to make it work for external sites like with previously mentioned single url. </p>
  
  <p>Give me some hope, thanks. </p>