Skip to content

A quick PHP script to throw a random picture from a folder on the server

License

Notifications You must be signed in to change notification settings

nagyrobi/random-picture-php-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

random-picture-php-script

A quick & dirty PHP script to mimic very basic unsplash.it functionality with your own folder with pictures. It's based on this, but adapted to serve a native picture file + the ability to avoid throwing the same picture again for the next 30 pictures.

Based on requester IP, images can be selected from different folders. This is useful in an internal network where the clients always have the same IP address (static or fixed DHCP).

About

A quick PHP script to throw a random picture from a folder on the server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages