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:
thanks
i want to display the text content of a .txt file under the ip addresses table after i clicked send.
something like this:
Code:
<html>
<head>
<title>IP TO URL Converter</title>
</head>
<body>
<h1>IP TO URL Converter</h1>
Please specify a log file:<br>
<input type="file" name="datafile" size="40">
</p>
<div>
<input type="submit" value="Send">
</p>
IP addresses:<br>
<form method="post" action="">
<textarea name="comments" cols="40" rows="5">
</textarea><br>
</form>
</p>
<button type="button">Convert</button>
</p>
URLs:<br>
<form method="post" action="">
<textarea name="comments" cols="40" rows="5">
</textarea><br>
</form>
</div>
<script type="text/javascript">
var address = java.net.InetAddress.getLocalHost();
document.write("Your IP is: " + address);
</script>
</body>
</form>
</html>
thanks