From c644128fdd49a47d791240e0e38b54cd22412bc5 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 4 Jul 2007 23:54:32 +0000 Subject: fixed validation errors... about a zillion of em. --- user_guide/libraries/file_uploading.html | 57 ++++++++++++++++---------------- 1 file changed, 29 insertions(+), 28 deletions(-) (limited to 'user_guide/libraries/file_uploading.html') diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html index 21fd2a6ba..d9a993a74 100644 --- a/user_guide/libraries/file_uploading.html +++ b/user_guide/libraries/file_uploading.html @@ -89,26 +89,27 @@ preferences, restricting the type and size of the files.

folder:

- +</body> +</html>

You'll notice we are using a form helper to create the opening form tag. File uploads require a multipart form, so the helper creates the proper syntax for you. You'll also notice we have an $error variable. This is so we can show error messages in the event @@ -120,24 +121,24 @@ the user does something wrong.

Using a text editor, create a form called upload_success.php. In it, place this code and save it to your applications/views/ folder:

- +</body> +</html>

The Controller

@@ -428,7 +429,7 @@ Previous Topic:  Download Helper Top of Page   ·   User Guide Home   ·   Next Topic:  FTP Class -

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b