PHP Classes

File: upload.php

Recommend this page to a friend!
  Classes of Rizwan Khan   A Simple upload file class   upload.php   Download  
File: upload.php
Role: Example script
Content type: text/plain
Description: form action file
Class: A Simple upload file class
Validate and process file uploads
Author: By
Last change:
Date: 13 years ago
Size: 488 bytes


Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>


include 'upload.class.php';
// Upload(Field name of Form, File Type, upload directory)
$upload = new Upload('file', 'audio/mpeg', 'upload/' );