Thanks! I realised that the original filename is not available for posting, although we could set a new one.
So I just released another fox.php update fixing this hole. http://www.pmwiki.org/wiki/Cookbook/Fox Now if we have a file input box called 'upfile', we can use an input control named 'upfile_name' to upload the file with a new name (this was already possible), but we can also use {$$upfile_name} in the template to post the filename, without need for an input field with that name. We can also post the filesize with {$$upfile_size}. These new variable names should also work for input validation checking with for instance (:foxcheck upfile_name msg='Please choose a file':) So use this in your template: [[(Attach:){$$upfile1_name} | File]] ~Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
