
May 22nd, 2000, 07:06 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
how to append to html file with <P> or <BR>
<i><b>Originally posted by : Norli (norli@jic.net.my)</b></i><br />hello,<br /><br />i'm trying to append large text to a html file. the text are entered by<br />users (from web site) and may contain carriage returns. i've tried using the following, <br />taken from this site:<br /><br /><%<br /> Const ForReading = 1, ForWriting = 2, ForAppending = 8<br /> Dim fso, f <br />Set fso = CreateObject("Scripting.FileSystemObject")<br />Set f = fso.OpenTextFile("c: estfilehtml", ForWriting, True)<br />f.Write "Hello world!" <br /><br />%><br /><br />but, it did not detect carriage return entered from the end user (web site). therefore, all<br />text will be appended in 1 biig paragraph.<br /><br />help!!!<br /><br />thanks! :-)
|