Login   Register  
PHP Classes
elePHPant
Icontem

File: upload.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2011-01-19 10:36
Size: 488 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php

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

?>
</body>
</html>