The new File Upload capability in Spinner Wiki was pretty easy to implement, but even with easy things, it's often better to start with someone else's code rather than starting from scratch. I started with an open source CGI script called eUpload, by TYNDIUK Frederic (tyndiuk@ftls.org). The original source can be downloaded from http://ftls.org/en/examples/cgi/eUpload.shtml.
My changes were mostly cosmetic (match the look and feel of the Wiki, use a Dolphin-style template) and philosophical (no administration or access control; anyone can overwrite anyone else's files).
Note that this requires the URI::Escape perl module to work
Related pages: Unclassified
|