![]() |
Making A Collaborative Notepad
1 Attachment(s)
Im trying to make a notepad that whoever has it open whenever they write in it it will appear on your screen.
vise versa. here is what i have so far, is there any form of ontextchanged or anything? Sorry for it being a file and not php. incapsula keeps being annoying and not letting me post it. it seems when i post my script if i use onTimeout(); or function onTimeout(){ it takes me to the incapsula error page. |
You need to send the text from the notepad to the server and from the server to the notepad so it would be always be updated, all though, I see this as a pointless tool. Anyways, here ya go.. :fro:
http://pastebin.graalcenter.org/read...d=052687969108 |
Quote:
|
Here's a C/C++ program to do that job, just gotta port it to gscript.
|
Quote:
|
@Loriel thats gonna take forever xD
|
Quote:
|
This interested me enough to make something "working" the catch is that it's very in-efficient though since it's basically just sending the entire text back and forth instead of determining what's different then sending the only changes instead.
Text isn't stored on the server-side either. PHP Code:
|
Its a little buggy when two people are typing at exact same time, i think il add a button to decide who's turn it is to write.
|
Ours doesn't need that button.
|
| All times are GMT +2. The time now is 01:59 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.