<?php $contents = file_get_contents('pickles.txt'); $contents = strtoupper($contents); file_put_contents('pickles.txt', $contents); ?>