It’s working perfect now. Thank you very much for your support Xarma. You’re the man : )))
Posted 15 days ago
attachmentForm is a Flash/php form with file attachment capabilities. Autovalidation, autodetection of MIME types, extensive error handling and displaying.
Filetypes and groups of filetypes to allow for attachment are user configurable.
UPDATE 09 .14.2008 For some people having problems due to their server php configurations, i’ve uploaded a slightly reviewed version of the uploadandsend.php.
note: if PHP installation on your server supports the mime_content_type() function, you don’t need the mime.php file, and you should comment or delete the include ‘mime.php’; in the uploadandsend.php file.
Posted 4 months ago
Hi rtavares,
i fixed the problem on your form, the file mime.php caused problems as tried to redefine a function already supported on your server (mime_content_type()).
Now it works 100%
Bye, xarma
It’s working perfect now. Thank you very much for your support Xarma. You’re the man : )))
Posted 15 days ago
Hey, I’m actually having trouble making this work on a mac as well. It runs perfectly on a PC but for mac it wont let you upload any of the specified files. But the code should be right:
success = this.fileRef.browse([{description: “All Formats (.jpg,.gif,.png,.swf)”, extension: “.jpg;.gif;.png;.swf”, macType: “JPEG;jp2;GIFF;SWFL”}])
Any clue?
Posted 6 days ago
I’m having the same problem of firebombmedia. The file is working perfectly on a PC but not for mac.
Thanks.
Posted 5 days ago
hi firebombmedia and katiabugs, unfortunately i can’t test the file on a mac but i’m quite sure that the syntax for the mac filetypes to browse is correct.
I’ve found some interesting infos on: http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002206.html
and in particular on: http://blog.joshbuhler.com/index.php?year=2006&monthnum=05&day=30&name=mac-file-types-one-more-thing&page=
maybe thes infos can fix the problem in mac. let me know, bye. xarma
Posted 4 days ago
I am also having the same problem (not able to select & upload attachments on mac)- has anyone found the solution?
I love everything about this form- and would love to get it working with attachments!
thanks!
Posted 4 days ago
ereider1, check the webpages in the post above, maybe it can help with file browsing problems on Mac. Bye xarma
Posted 2 days ago