Removed readline dependency
fixed merge conflict
fixed undefined variable
fixed undefined vars in buckets.php
readded trim to fgets
Merge pull request #1 from doddsey65/master

Fixed a few undefined variables for strict mode