• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Does any code exist for opening, editing, and saving text in a webpage?

I have a need for what would basically be notepad, but on a webpage. A textarea or something similar where a user can create text and save it to a particular spot on the server, or even open existing txt files, edit them, and save them.

Does anything like this exist, and if so, could you guys give me a push in the right direction? I have some php code that I wrote for something else where a user can type in text and save it to a predefined server folder using a predefined filename, but I need something much more advanced.

Thanks.
 
You could do this with any number of rich text/html editors, such as TinyMCE for example. It provides the editing front end. You'd have to wire it up to the folder and file management.
 
Originally posted by: Markbnj
You could do this with any number of rich text/html editors, such as TinyMCE for example. It provides the editing front end. You'd have to wire it up to the folder and file management.

That's what I kind of figured, that I'd have to work in folder and file management, so that's what I've been dabbling with. The more I think about how to structure it in php, I'm sure it can be done. It just won't be as pretty as something like javascript, which I don't know.
 
I read your OP as meaning you were managing the folder structure on the server. If it's client-side that's a different story, but you can't do either with javascript anyway.
 
Let me see if I understood the OP correctly,

You want to host a web-page. (I assume across a home/office network)

The web-page should contain a text editing field. A user will be able to type in whatever they want and this text will get stored on the server.

Afterwards from perhaps a different system on the network, you want to be able to access the notes you made earlier.

Is this correct? If so,.... hmm....

Why not host a http://www.tiddlywiki.com/ as your index page on the server?

To me, it should serve the purpose.
 
I'm not sure tiddlywiki will save itself onto a web server. I thought it only worked as a filesystem file.

How about DokuWiki? It apparently stores everything in text files on the server.

Edit: I fixed the link. 😱
 
Originally posted by: Ken g6
I'm not sure tiddlywiki will save itself onto a web server. I thought it only worked as a filesystem file.

Now that I think about it, I guess you're right. Tiddlywiki does work on the local filesystem and NOT on the server.

I've not heard of dokuwiki, but I'll look into it.

Also, Ken, you got the hyper-link mixed up. 😛 To anyone else following up on it, just copy-paste his 'link-text' to your browser window.
 
Back
Top