Jump to content


reading


4 replies to this topic

#1 l3lueMage

    Wanna Be Moderator

  • Publishing Betazoids
  • PipPipPipPip
  • 4,596 posts
  • Gender:Male
  • Location:San Francisco Bay Area

Posted 03 May 2006 - 04:20 AM

Okay I was wondering if anyone has a tutorial, or a good and easy way to create a Wiki, so peopel can edit/create and stuff just like on wikipedia...

#2 Indigo

    Official Alien

  • Members
  • PipPipPip
  • 617 posts
  • Gender:Male
  • Location:Trondheim, Norway
  • Interests:Computing in general, especially design and programming of all kinds.

Posted 03 May 2006 - 08:52 AM

You mean, the user don't have to log in, they can just press a "Edit article"-button, and be sent to editarticle.php? 'Cause this ain't harded than a basic NewsCMS, there should be some if you try a tutorial search.
If you mean something with a search-function, login and other, you would probably have to edit and mix together a few tutorials, but you should find everything you need at tutorial search :lol:

#3 l3lueMage

    Wanna Be Moderator

  • Publishing Betazoids
  • PipPipPipPip
  • 4,596 posts
  • Gender:Male
  • Location:San Francisco Bay Area

Posted 03 May 2006 - 09:01 AM

hehe I got it all except...How would I make it so I can print out the stuff in a text file into a textarea?

#4 Indigo

    Official Alien

  • Members
  • PipPipPip
  • 617 posts
  • Gender:Male
  • Location:Trondheim, Norway
  • Interests:Computing in general, especially design and programming of all kinds.

Posted 03 May 2006 - 09:09 AM

Maybe you can try something like this:
<?php
$myfile = fopen('myfile.txt', 'w');
print ("<form><textarea name=\"myname\">$myfile</textarea></form>");
?>

You can also look some at the fopen-funtion, it might help.

Edited by Indigo, 03 May 2006 - 09:10 AM.


#5 l3lueMage

    Wanna Be Moderator

  • Publishing Betazoids
  • PipPipPipPip
  • 4,596 posts
  • Gender:Male
  • Location:San Francisco Bay Area

Posted 03 May 2006 - 05:24 PM

hmm see, this keeps happening, it just sayus Resource id #2 in the text box...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users