PHP Code

These are some PHP scripts I've written and made available on GitHub.

Roulette in PHP

A game of roulette written in PHP. The script accepts single or multiple bets per spin of the wheel and displays the winnings and losses.

Get the code on GitHub

PHP Interface for the Nabaztag API

A PHP class to control the essential functions of a Nabaztag wireless rabbit.

Get the code on GitHub

PHP Tail Command Emulator

A script to return the last given number of lines in a file, similar to the tail command in Unix. Useful for parsing large log files with PHP.

Get the code on GitHub