icon for lab

CT310

Recitation 13 - File Uploads with Fuel

In this recitation, we will:


Fuel public class: "Upload"

A public class that fuelifies PHP file upload

Functions from the Upload class include: process, is_valid, save, get_files, etc.

Let's check out the usage example together

Today's example allows you to upload a new image as profile picture

We will be building this example to get experience with Fuel::Upload()


Download the source

You know the drill by know, install the fuel app

Follow the directions in the skeleton code of fileuploadexample.php controller

When you're down you should be able to upload a new image

No submission today! You'll all receive credit, stay safe.