Putting the following line in an .htaccess file should work -
php_value upload_max_filesize 1024
Note the value is in bytes. You can use shorthand (K,M,G) in PHP >= 5.1
It should work in any folder above the script in the directory tree - so the root folder is ok.