#1
  1. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    17
    OK, I know that the form element <input type="file"> lets you select a file that can be uploaded (with a multipart form). I also know that it generated a load of attributes, such as file size and type. Does anyone have a full list of these attributes anywhere, or know where there's a tutorial on this form element? Thanks
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    20
    Rep Power
    0
    the variables should be:

    $x - the file you uploaded
    $x_name - the name of the uploaded file
    $x_size - the size of said file
    $x_type - type of file (text/plain)

    If there are more, I would like to know about them.

    check out http://www.thickbook.com/extra/php_fileupload.phtml

    ------------------
    ---------
    Lanny
    dtm

IMN logo majestic logo threadwatch logo seochat tools logo