Heja there again!
So the background: although it's not part of the current use case of superglue to edit server-side script files (like PHP files on a PHP-capable server....) I think it would be a nifty feature to be able to add some dynamic content to superglue-driven servers.
Currently script files can be uploaded as files, but they would have to be edited offline beforehand to implement any changes. That works but it's a bit unhandy and it'd be so cool to be able to do any raw editing.
The most simple way I would picture this is as follows:
1. in the file listing, any regular files that have any form of text-based code-content (html,css,js,cgi?, php, ...?) could have a "raw-edit" link similiar to the link of html pages that links to the corresponding page
2. when clicking the link a specific url is opened, possible examples:
POST /raw (with data=./path/to/file)
3. the corresponding URL necessarily is a server-side script itself that loads a normal HTML form with the contents of the specified file.
4. saving could (possibly?) be done with the existing scripts by specifying the right form method and action.
Mhm, think I'll set up an example form sometime..