Git Codebase - Sn0wlink IT
Insults
Code:
Download ZIP
LICENSE
README.md
index.php
insults.csv
insults.php
insults.php
<?php // Print random insult to screen function RandomInsult() { // Open and randomise insults - Keep It Simple, Stupid! $InsultFile = file('insults.csv'); shuffle($InsultFile); // Print it echo $InsultFile[0]; } ?>