PHP Classes

File: Lou_up_file.php

Recommend this page to a friend!
  Classes of António Lourenço   Lou Up File   Lou_up_file.php   Download  
File: Lou_up_file.php
Role: Example script
Content type: text/plain
Description: example
Class: Lou Up File
Process files uploaded via Web forms
Author: By
Last change:
Date: 9 years ago
Size: 469 bytes


Class file image Download

/* Lou_up_file, v.1.0 2014/09/01 by Antlou */


// Upload(name of form, type, directory)
$upload = new Up('news', 'text/plain', 'up_news/');

    <form action="#" enctype="multipart/form-data" method="post">
        Ficheiro / File :<input type="file" name="news"/>
        <input type="submit" name="submit" value="Carregar / Upload" />