[pmwiki-users] Page which accepts text from user, uploads text, stores on server, returns URL for referencing data

Eemeli Aro eemeli at gmail.com
Tue May 18 08:57:14 CDT 2010


On 18 May 2010 16:41, Harry Forsdick <harry at forsdick.com> wrote:
> I would like to create a page which accepts text from user (probably in a
> form with a textarea), uploads and stores the text in a file with a short
> generated name onto the server, and returns the URL of the newly stored file
> for referencing the text typed into the textarea.
>
> Can someone suggest a way to do this?

PmForm <http://pmwiki.org/pmform/> can save the text as a new wiki page.

You'll want to use a saveto= parameter that generates a unique hash or
some other identifier every time you submit the form.

eemeli



More information about the pmwiki-users mailing list