Some sweeping syntax changes for consistency:

(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html
index 6e0d10f..2778781 100644
--- a/user_guide/libraries/file_uploading.html
+++ b/user_guide/libraries/file_uploading.html
@@ -167,7 +167,7 @@
 		

 		$this->load->library('upload', $config);

 	

-		if (! $this->upload->do_upload())

+		if ( ! $this->upload->do_upload())

 		{

 			$error = array('error' => $this->upload->display_errors());