PHP Classes

File: Readme.txt

Recommend this page to a friend!
  Classes of Kai Schneider   xTem Upload   Readme.txt   Download  
File: Readme.txt
Role: Documentation
Content type: text/plain
Description: Reference File / Tutorial
Class: xTem Upload
File upload processing class
Author: By
Last change:
Date: 20 years ago
Size: 965 bytes


Class file image Download
-------------------------------- Name: XTem Upload -------------------------------- function make_dir($_dir, $_rights) [$_dir] - directory name [$_rights] - chmod rights (0777, 0755 etc.) function change_dir($_dir) [$_dir] - path to directory function upload_file($_file, $_name) [$_file] - file from form-/data post ($_FILES['tmp_name']['fieldname'] [$_name] - new name on the server function make_thumb($_name, $_tname, $_with, $_height, $_del_source) [_$name] - name and path to the jpeg file [_$tname] - name for the new generated thumbnail [_$width] - width for the new generated thumbnail [_$height] - same as width, just for the height [_$del_source] - of you want to delete the orignal jpeg, set this to 1 function del_file($_name) [_$name] - name and path to the file you want to delete Feedback & Questions to: