Re: [PHP] Multi-User Text-Editing

2004-09-07 Thread Michal Migurski
> Okay, i got the general idea, now it all comes down to the actual > writing. I'm making a function that compares two strings (the one in the > source i read used an exec() call, but i'd like to do it all in PHP) > per-line. This poses some difficulties. Here's the scenario: Tavi Wiki just calls

Re: [PHP] Multi-User Text-Editing

2004-09-07 Thread Wouter van Vliet
> > $str1 = << Once there was a Bar > It was red > It had some Foo > Underneath its Foobar > NEWTXT; > > $str2 = << Once there was a Bar > It had some Foo > Underneath its Foobar > OLDTXT; > >

Re: [PHP] Multi-User Text-Editing

2004-09-07 Thread Daniel Schierbeck
Okay, i got the general idea, now it all comes down to the actual writing. I'm making a function that compares two strings (the one in the source i read used an exec() call, but i'd like to do it all in PHP) per-line. This poses some difficulties. Here's the scenario: I want to determine whethe

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread zareef ahmed
Hi, look at it http://www.freebsd.org/projects/cvsweb.html may be usefull. zareef ahmed --- raditha dissanayake <[EMAIL PROTECTED]> wrote: > Daniel Schierbeck wrote: > > > Michal Migurski wrote: > > > >>> What i want is basically a way for many users to > update, add or delete > >>> par

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread raditha dissanayake
Daniel Schierbeck wrote: Michal Migurski wrote: What i want is basically a way for many users to update, add or delete parts of a text (the lyric). It will probably only be 'trusted' users that'll be able to do it (users that has added more than x artists/albums/songs). How can i make a CVS-like sy

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread Michal Migurski
> > You've just described a wiki - one example of a wiki that is written in > > PHP and MySQL is http://tavi.sourceforge.net. The code is a little > > spaghetti-like, but you should be able to look through the database schema > > to understand how they implement the multi-user text editing, and how

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread Daniel Schierbeck
Michal Migurski wrote: What i want is basically a way for many users to update, add or delete parts of a text (the lyric). It will probably only be 'trusted' users that'll be able to do it (users that has added more than x artists/albums/songs). How can i make a CVS-like system, where you can see t

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread Daniel Schierbeck
Michal Migurski wrote: What i want is basically a way for many users to update, add or delete parts of a text (the lyric). It will probably only be 'trusted' users that'll be able to do it (users that has added more than x artists/albums/songs). How can i make a CVS-like system, where you can see t

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread Michal Migurski
> What i want is basically a way for many users to update, add or delete > parts of a text (the lyric). It will probably only be 'trusted' users > that'll be able to do it (users that has added more than x > artists/albums/songs). How can i make a CVS-like system, where you can > see the changes pe

[PHP] Multi-User Text-Editing

2004-09-06 Thread Daniel Schierbeck
I'm developing a site with information about songs, albums and artists. I would like to have the song lyrics as well, but i don't know how i should approach it. What i want is basically a way for many users to update, add or delete parts of a text (the lyric). It will probably only be 'trusted'