Writing /home/tachyon/public_html/scripts/data/cache/b/bee707d981e3c9c34ad4dd06a84fee54.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/b/bee707d981e3c9c34ad4dd06a84fee54.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/b/bee707d981e3c9c34ad4dd06a84fee54.xhtml failed

vsns_upload

Versions: VSNS 4

Description

Handles uploads. Currently, this class is extremely basic; I wrote it to handle emoticon uploads. However, there's no reason it can't be extended and improved until it's possible to upload other files be they images, file attachments, or perhaps even audio/podcasts!

Properties

  • public $ext
  • public $name
  • public $size
  • public $status
  • public $tmp_name
  • public $type

Methods

  • __construct - Creates an instance of the upload handler
  • store - Uploads a file and moves it to the appropriate directory
  • verify - Verifies the integrity of the file
 
vsns_lemon/upload.txt · Last modified: 2008/06/09 16:39 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki