Display text content

Discussion in 'HTML and CSS' started by shinn90, Jul 14, 2011.

  1. shinn90


    Jul 14, 2011
    Likes Received:
    here is my website : http://ip2url.tk/

    i want to display the text content of a .txt file under the ip addresses table after i clicked send.

    something like this:
    Code (Text):

    <title>IP TO URL Converter</title>

    <h1>IP TO URL Converter</h1>
    Please specify a log file:<br>
    <input type="file" name="datafile" size="40">
    <input type="submit" value="Send">
    IP addresses:<br>

    <form method="post" action="">
    <textarea name="comments" cols="40" rows="5">
    <button type="button">Convert</button>
    <form method="post" action="">
    <textarea name="comments" cols="40" rows="5">
    <script type="text/javascript">
    var address = java.net.InetAddress.getLocalHost();
    document.write("Your IP is: " + address);


    shinn90, Jul 14, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.