small script for PHP language.