Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    May 2010
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy How to make html page open text file on wanted place?Help!

    Hello!I know a little about html,but i want to know is it possible to replace a long text what is in text file whit only little code? If it is then please help me,becaus I looked in google and i got confused and didn't find what i was looking for! So can please someone help me and waste a little time for me? Please,I will be very thankful if someone could help me!

  • #2
    New Coder
    Join Date
    Dec 2009
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post
    If you are wanting to use a brief code in order to have a web page pull in a text file, you can search on the term "includes". You might want a server side includes using html (actually shtml) or a php includes. Check out this thread - http://www.codingforums.com/showthre...121#post957121.

    Webweaver

  • Users who have thanked weaver for this post:

    keijo100 (05-21-2010)

  • #3
    Regular Coder
    Join Date
    Sep 2009
    Posts
    167
    Thanks
    15
    Thanked 1 Time in 1 Post
    i'm not sure if you are asking how to make your coding more efficient, or to have your actual content use less resources.

    if it's the second, look into xml feeds. those pull content from other areas (like online news articles) and put them onto your page. xml feeds are used a lot for content that changes frequently, like news articles.

  • Users who have thanked code beginner for this post:

    keijo100 (05-21-2010)

  • #4
    New to the CF scene
    Join Date
    May 2010
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Smile Thank you everyone ^^

    Thank you. Atleast now i know that i don't search for some useless crap ^^
    Thank you everyone ^^ you all are so smart and i am only 14 duh(that's why i am still noob,but going to study IT ^^)

    Thank you everyone and strange nightmares to you ^^


    Aam sorry,but could then anyone delete that thread ^^ because otherwise it only takes room and u wont find your much more worth threads ^^
    But if u want then it can stay here for a lesson for such noobs like me ^^ Cya
    Last edited by keijo100; 05-21-2010 at 05:42 PM. Reason: Woopsie,still noob ^^


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •