php script to create arff