Results 1 to 4 of 4

Thread: Trying to pull data from a file on remote server to html page....??

  1. #1
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Trying to pull data from a file on remote server to html page....??

    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.?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Needs to be done server-side.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default that doesn't really help much.....

    .... 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?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Not client-side, as you're trying to do it, no. You'll need a server-side language installed on your server.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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