HTML_Progress2
[ class tree: HTML_Progress2 ] [ index: HTML_Progress2 ] [ all elements ]

File: fileupload2.php

Source Location: /HTML_Progress2-2.4.2/examples/aflax/fileupload2.php

Classes:

Page Details:

AFLAX file upload example with modified behaviors.

Progress meter has 3 buttons (btn1: select File, btn2: begin Upload, btn3: cancel Upload) and a status text label (aflaxstatus) We use HTML_Progress2::setFrameAttributes() to give an applet look like. We use these AFLAX settings :

  • Adobe Flash is "aflax.swf" in current directory,
  • JavaScript backend "ajax.js" and "HTML_Progress2_AFLAX.js" are also in current directory
  • Files allowed to upload are : Images (*.jpg, *.jpeg, *.gif, *.png) and Archives (*.zip, *.tar, *.tar.gz)
  • The server script named "http_upload.php" to handle files uploaded reside in current directory and used PEAR::HTTP_Upload package facility

Includes:

require_once('HTML/Progress2.php') [line 23]

Documentation generated on Mon, 11 Mar 2019 15:46:42 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.