How do these .php galleries work?

Printable View