/    Sign up×
Community /Pin to ProfileBookmark

visitor generated page??

How would someone code a page that will allow a
visitor to input text while dynamically displaying
that text to anyone else currently visiting
that page.

My ultimate goal is to build an eltronic postit that everyone can share and edit in real time.

Even a submit button is acceptable, but the data
needs to automatically update to everyone.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@scragarJan 07.2005 — the closest thing I can think of is a chatroom with msg delete privilages and no msg lost times(which is esentialy all your after)

useing frames you can achive this with a serverside Lang(like PHP, ASP or Perl)
Copy linkTweet thisAlerts:
@matthewstauthorJan 07.2005 — i work for the millitary

anything with the word "chat" will get me shot

tell me more about these server side scripts, pls?
Copy linkTweet thisAlerts:
@scragarJan 07.2005 — you could use one to record the messages to a database, then they coulde be modified using simple SQL statments or deleted(http://www.w3schools.com/sql/default.asp).

with a simple peice javascript or meta tags you could contantly reload the chat page to acept any new messages while the new message box(that would also be used for editing) would be in a different frame to prevent any loss of the information.


PHP is proberly easiest and can be downloaded from PHP.net for free(unlike ASP *boo*hiss* which requires a free for inferior features) if you down run your own host then you can proberly find a cheap one that has more than enough privilages for you to run this.
×

Success!

Help @matthewst spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...