Jump to content

Little Goat

Members
  • Posts

    733
  • Joined

  • Last visited

Posts posted by Little Goat

  1. well all you hav to remember is to close all your tags and the document type ddeclaration. ( you could put the document type declaration in a txt file and start your pages from that file so you wouldn't have to remeber it)LG

  2. well that's like saying "why html 4.03? why not 3.0?" or whatever the last version was. it will eventually replace html probably, and there are some other advantages, I just can't remember them right now.LG

  3. ok, here is an idea:

    <?php $filename = "yourfile.txt";$fd = fopen ($filename , "r"); $fstring = fread ($fd , filesize ($filename)); fclose($fd); ?> <html>...<form action="write.php" method="POST"><textarea name="file" cols="10" rows="30"><?php echo $fstring; ?></textarea></form>...</html>

    then write.php:

    <?php$filename = "yourfile.txt";$fd = fopen($filename , "w");$fout = fwrite($fd , $_POST['file'] );fclose($fd);?>

    then you can add a function for redirecting.LG

  4. do you know PHP?that is what I would use, but that might just be that I don't know anything better :) .so anyway, look up the file_get_contents() function here: http://us3.php.net/manual/en/function.file-get-contents.phpopen your file with that, and have the text fields seperated with | or something else, then use explode(): http://us2.php.net/explodethen enter the xml tags in and save it using the fopen() fwrite() and fclose() statements. (google php fopen())LGEdit: if you need it more specific, I can do that too.

  5. well, that might work, can you give me the general format of the text files?It could probably be done with php, using the explode statement and a few other things.LG

  6. well, there are a lot of options in XML, if you know what the general format of the text will be, and if it always needs the same elements, that would make it a lot easier.LG

  7. Like I said, I probably don't have any Idea what I'm talking about.I don't know any programming language except I'm learning JAVA.I might think of something in another window using php. If I do, I'll PM you in maybe a few days with what I've come up with.(or failed with :) )LGEdit:OK, I don't know about this. I'll keep trying. :)

  8. you might have to use some programming language such as JAVA, C++, C, or something else. if you've got firefox since it's opensource, if you know the language, you could probably program that in.(I havve no Idea what I'm talking about :) )LG

  9. when you do file:// it acceses your computer.other people do not have it on thier computer, so you have to find another way, such as network nieghborhood (on Windows), or a web host.LG

×
×
  • Create New...