Switch to the dark side!
General Discussion

General Discussion

Latest Discussion
2 months ago
3 months ago
4 months ago
More...

Post a new topic



HTML HELP!!

Avatar-50x50
lilcstyle says:

how can i output the contents of a .txt file (one line) to an html file?

***
it's like my pool is rippin ass all over my back yard, but it's standing still... still waters run deep.

12:05 am, Sunday, August 18, 2002 (7 years ago)
Avatar-50x50
Redux says:

magic.

Well, first you edit your signature to make sense........then your almost there.

12:08 am (7 years ago)
Avatar-50x50
lilcstyle says:

it does make sense!!! how can u tell me that it doens't when almost 90% of the sigs on custo make even less sense tham mine?!

***
it's like my pool is rippin ass all over my back yard, but it's standing still... still waters run deep.

12:18 am (7 years ago)
Avatar-50x50
xRain says:

i guess his sig makes sense. i recognize the quote anyway.

12:22 am (7 years ago)
Avatar-50x50
y5s60 says:

if i am reading you question right, you want to take the contents of a text file and make it appear in a webpage.

add this where you want your text to appear:





then rename your page to whatever.php
if you server dosnt support php there is a way to do it with java but it is late and i dont remember, soemone else help please.

02:01 am (7 years ago)
Avatar-50x50
y5s60 says:

hmm... stupid message board
that code is

[?php
include("path/to/file")
?>

replace [ with

02:02 am (7 years ago)
765
kmr says:

in js:

function load(textbox) {
fsO = new ActiveXObject("Scripting.FileSystemObject");
Text = fsO.OpenTextFile(notefile,1);
textbox.innerHTML = Text.ReadAll();
Text.Close();
}

textbox being a [span][/span]

could explain more but I'm tired, that will get you started

04:43 am (7 years ago)
765
kmr says:

oh and notefile is the text file path.

04:44 am (7 years ago)
Avatar-50x50
Compo says:

if there is nothing speacial about the textfile - you could just copy the whole thing into your page(text file page seem to take longer to load on my cpu anyway)

.compo
yeah it makes no sense to you, but to me... no wait...well maybe...damn
[ .peace ]

06:43 am (7 years ago)
Avatar-50x50
lilcstyle says:

thanks everyone


***
it's like my pool is rippin ass all over my back yard, but it's standing still... still waters run deep.

09:40 am (7 years ago)
Avatar-50x50
AngelfMercy says:

hehe, sometimes I miss this place

-Mercy
former admin (I used to put out miriku's fires)

09:19 am (7 years ago)
391
AverageJoe says:

yeah, miriku is quite flaming ;)

Official Member of the I.A.T.T. - International Association of Tagline Thieves

09:27 am (7 years ago)
1691
Wynton says:

[ .wyn-10. ]
its Mr. Wynton to you.

10:39 am (7 years ago)
1691
Wynton says:

ok, the php didn't show...
""

then just keep on putting the html down here.

[ .wyn-10. ]
its Mr. Wynton to you.

10:40 am (7 years ago)
 
   Arrow_up_small Top

Reply to this topic

You must register and become a member to post a reply.