try another color:
try another fontsize: 60% 70% 80% 90%
PHP Suit
Useful PHP scripts

Store your data at box.net

OpenID login failed.

Simple script for uploading files at box.net online storage. I've used this method for daily backups on my czech TinyURL clone Jdem.cz.

BoxNet Uploader is a simple script allows you to store backups of your "not crucial" data on the remote box.net storage account.

The idea is really plain: Run the backup script (for example daily, by the cron). This script collects your data (from the database or from the file system), packs them into one archive file and uploads this file on box.net.

Collecting and packing data are straightforward, but there should be a problem with box.net uploading.

The official box.net PHP class uses the web-based authorization method, so it's unusable for automatically called scripts, and its "upload" function is quite strange (it means "disfunctional").

My class named boxnetsuit provides two method:

authorize
Authorizes user with username/mail and password, obtains auth_token
upload
Uploads single file to box.net. You can specify the remote file name (I'm using empty string, so my files are named "backup-datetime.tgz") as well as the remote folder (you must specify it by its ID).

You can get the Boxnetsuit from Google Code, by SVN:

svn checkout http://boxnetsuit.googlecode.com/svn/trunk/ boxnetsuit-read-only

or directly from the SVN repository here