Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. loading text files into webpage

loading text files into webpage

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
helplearningtutorial
11 Posts 5 Posters 32 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    obscurant1st
    wrote on last edited by
    #1

    Hi, Its been some time i'm trying to get my website online. Its supposed to be a basic tutorial n article resource website. But the problem is almost all my articles and tutorials are text files. its almost 1000+ of them. So can anybody please help me to create/get a code for displaying the text files in the webpage. Let the textfiles are located in a folder called "tuts". My idea is to create a frame and when 1 click on the name of the text file (let the text files names be on the right / left side of web page) the text file is displayed in that frame. Or if there is better way to imply this its also welcome.Of course the coders name n his preferred "one link" will be given in my website. Please Help me.

    F J 2 Replies Last reply
    0
    • O obscurant1st

      Hi, Its been some time i'm trying to get my website online. Its supposed to be a basic tutorial n article resource website. But the problem is almost all my articles and tutorials are text files. its almost 1000+ of them. So can anybody please help me to create/get a code for displaying the text files in the webpage. Let the textfiles are located in a folder called "tuts". My idea is to create a frame and when 1 click on the name of the text file (let the text files names be on the right / left side of web page) the text file is displayed in that frame. Or if there is better way to imply this its also welcome.Of course the coders name n his preferred "one link" will be given in my website. Please Help me.

      F Offline
      F Offline
      fly904
      wrote on last edited by
      #2

      [Message Deleted]

      L 1 Reply Last reply
      0
      • F fly904

        [Message Deleted]

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        In the 1000's of tutorials THIS wasn't included in one of them??

        Check out the CodeProject forum Guidelines[^]

        O 1 Reply Last reply
        0
        • L Lost User

          In the 1000's of tutorials THIS wasn't included in one of them??

          Check out the CodeProject forum Guidelines[^]

          O Offline
          O Offline
          obscurant1st
          wrote on last edited by
          #4

          :D actually this 1k + tutorials are not pogramming tutorials.. ofcourse its a wide verity..bt mostly its like anarchy,fun,viruses etc etc..this web programming is not a part of these.. newayz now i gt a code for this. now you guys got an idea how should i put this text in my website. I'm thinking about a scrollable locked textbox located at the center ot the page with a fixed size. can any one help me out to get this done. ow i need to know how to get the filenames and pass it to this variable $file. I have the list of filenames in the website.Now i need to get it displayed when i click on each filename. please help me :)

          L B 2 Replies Last reply
          0
          • O obscurant1st

            :D actually this 1k + tutorials are not pogramming tutorials.. ofcourse its a wide verity..bt mostly its like anarchy,fun,viruses etc etc..this web programming is not a part of these.. newayz now i gt a code for this. now you guys got an idea how should i put this text in my website. I'm thinking about a scrollable locked textbox located at the center ot the page with a fixed size. can any one help me out to get this done. ow i need to know how to get the filenames and pass it to this variable $file. I have the list of filenames in the website.Now i need to get it displayed when i click on each filename. please help me :)

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            A site about anarchy, "fun" and viruses and you expect help? You're lucky if you see one more response, your site will fail.

            Check out the CodeProject forum Guidelines[^]

            1 Reply Last reply
            0
            • O obscurant1st

              :D actually this 1k + tutorials are not pogramming tutorials.. ofcourse its a wide verity..bt mostly its like anarchy,fun,viruses etc etc..this web programming is not a part of these.. newayz now i gt a code for this. now you guys got an idea how should i put this text in my website. I'm thinking about a scrollable locked textbox located at the center ot the page with a fixed size. can any one help me out to get this done. ow i need to know how to get the filenames and pass it to this variable $file. I have the list of filenames in the website.Now i need to get it displayed when i click on each filename. please help me :)

              B Offline
              B Offline
              bulg
              wrote on last edited by
              #6

              bt mostly its like anarchy,fun,viruses etc etc..this web programming is not a part of these.. newayz now i gt a code for this. $file = file('C:\file.txt'); $lines = count($file); for ($i=0; $i<=$lines; $i++) { print($file[$i]); } ?>

              Lik, u needz to get a virus author linx on your site/? cuz I knowd you culd to an idea for loading a text file if u can writz virus!!lol

              modified on Friday, May 8, 2009 4:50 PM

              O 1 Reply Last reply
              0
              • B bulg

                bt mostly its like anarchy,fun,viruses etc etc..this web programming is not a part of these.. newayz now i gt a code for this. $file = file('C:\file.txt'); $lines = count($file); for ($i=0; $i<=$lines; $i++) { print($file[$i]); } ?>

                Lik, u needz to get a virus author linx on your site/? cuz I knowd you culd to an idea for loading a text file if u can writz virus!!lol

                modified on Friday, May 8, 2009 4:50 PM

                O Offline
                O Offline
                obscurant1st
                wrote on last edited by
                #7

                em nt a virus writer dudes... I'm malware analyst..doing ethical works..ok.. n btw if you guys are not helping me its also ok..no probs..i'll get this done by ne means.. also this is not supposed to be tutorials for making virus or anythings like that.. i just want other people to knw how these things works..ok.. newayz..

                L 1 Reply Last reply
                0
                • O obscurant1st

                  em nt a virus writer dudes... I'm malware analyst..doing ethical works..ok.. n btw if you guys are not helping me its also ok..no probs..i'll get this done by ne means.. also this is not supposed to be tutorials for making virus or anythings like that.. i just want other people to knw how these things works..ok.. newayz..

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  No, you fail. Malware analysts don't type like asshats.

                  Check out the CodeProject forum Guidelines[^]

                  F 1 Reply Last reply
                  0
                  • L Lost User

                    No, you fail. Malware analysts don't type like asshats.

                    Check out the CodeProject forum Guidelines[^]

                    F Offline
                    F Offline
                    fly904
                    wrote on last edited by
                    #9

                    Stan Smith from American Dad would call him a 'Stone Man'.

                    My failometer is detecting vast quantities of FAIL! "Its SQL - hardly programming..." (Caslen)

                    1 Reply Last reply
                    0
                    • O obscurant1st

                      Hi, Its been some time i'm trying to get my website online. Its supposed to be a basic tutorial n article resource website. But the problem is almost all my articles and tutorials are text files. its almost 1000+ of them. So can anybody please help me to create/get a code for displaying the text files in the webpage. Let the textfiles are located in a folder called "tuts". My idea is to create a frame and when 1 click on the name of the text file (let the text files names be on the right / left side of web page) the text file is displayed in that frame. Or if there is better way to imply this its also welcome.Of course the coders name n his preferred "one link" will be given in my website. Please Help me.

                      J Offline
                      J Offline
                      Java John
                      wrote on last edited by
                      #10

                      What's the URL?

                      O 1 Reply Last reply
                      0
                      • J Java John

                        What's the URL?

                        O Offline
                        O Offline
                        obscurant1st
                        wrote on last edited by
                        #11

                        guys i told u..i can make this.. :D :D :P no hate..but still. you could have helped me.. nvm this helped me to learn php a lil bit..n i did this myself with the help of irc://irc.freenode.net ##php n btw my website is obscurant1st.biz - obscurant1st.biz

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups