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

Re: [PHP] Multi-User Text-Editing

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

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 out

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 people

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

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

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 to

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

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 parts of a text