[ Expand All ] [ Collapse All ] - [ Properties (11) ] [ Methods (9) ] - [ Legend ]

upload Class v. 1.0

upload

Interfacage Base de données MySQL create : 28/10/03 last_modify : 25/03/04 Copyright (C) 2003 Green-box

upload

Authorsimon
Copyright2003 Copyright (c) green-box 2003
Properties implemented by upload
public method DESTINATION

public method FILE

public method FINAL_NAME

public method FTP_ADMINMAIL

public method FTP_MODE

public method FTP_PASSWD

public method FTP_SERVER

public method FTP_USER

public method IMAGE_TYPE

public method TEXT

public method TEXT_LENGTH

Methods implemented by upload
private method _FTPUpload

PHPboolean _FTPUpload()

upload::_FTPUpload() !!! NON IMPLEMENTE/ NON TESTE !!! upload un fichier - Protocole FTP

Return

: Message d'erreur ou True;

private method _HTTPUpload

PHPboolean _HTTPUpload()

upload::_HTTPUpload() upload un fichier - Protocole HTTP

Return

: Message d'erreur ou True;

public method Archivefile

PHPvoid Archivefile(unknown $path)

upload::Archivefile() archive un fichier si nécessaire

Arguments

public method CheckExtImage

PHPstring CheckExtImage(string $filename)

upload::CheckExtImage() Verifie l'extension d'une image

Arguments

Return

$result

public method CheckMaxFile

PHPboolean CheckMaxFile(string $file_size, string $max_file)

upload::CheckMaxFile() Vérifie la taille d'un fichier

Arguments

Return

true si ok sinon message d'erreur (string)

public method CheckMimeImageType

PHPboolean CheckMimeImageType(string $dirname)

upload::CheckMimeImageType() verifie le type Mime d'une image

Arguments

Return

$result

public method GetExtension

PHPstring GetExtension(string $filename)

upload::GetExtension() détermine l'extension d'un fichier

Arguments

Return

$extension

public method GetName

PHPstring GetName(string $filename)

upload::GetName() obtenir le nom d'un fichier, sans son extension

Arguments

Return

$name

public method UploadFile

PHPboolean UploadFile(string $file, string $final_name, string $destination)

upload::UploadFile() upload d'un fichier

Arguments

Return

: Message d'erreur ou True;

Generated by PHPEdit - http://www.phpedit.net/ - Copyright © 1999-2003 - Sébastien Hordeaux