fix array syntax for upload to old php server