PDA

View Full Version : Trying to pull data from a file on remote server to html page....??



bpedro
03-01-2006, 09:13 PM
How can I or where can I find a template...code... something that will allow for me to pull a line of data out of a file on a remote server, or local system and display it in a textbox for html page.?

Twey
03-01-2006, 09:26 PM
Needs to be done server-side.

bpedro
03-01-2006, 09:32 PM
.... I have this code....

<font><h2>Title to form</h2></font>
<select name="select3" size="1" style="background-color:#0080FF" onChange="displaydesc(document.ta_form.select3, thetext3, 'textcontainer3')">
<option selected value="">Select an Env</option>
<option value="http://somewhere.com">example</option>
</select>
<input type="button" value="Go" onClick="jumptolink(document.ta_form.select3)"><br>
<span id="textcontainer3" align="left" style="font:italic 13px Arial">
</span>
</form>


var thetext1=new Array()
thetext1[0]=""
thetext1[1]="example text"


......SO from the:
thetext1[1]=

.....I want this to display a specific line from another file.... Can this be done?

Twey
03-01-2006, 09:48 PM
Not client-side, as you're trying to do it, no. You'll need a server-side language installed on your server.