I have just created a web application that allows you to upload a TXT file, and then get the link for it! This would be really handy! You can see it for free here!
I put this in Advanced Topics, becuase this might be good for creating urls for mods to read the news off, or for the local block library, so they can upload it faster!
Reply if you get good use out of it!
Offline
sparks wrote:
Ever heard of pastie.org? Look it up! Impressing coding though, would you share the php?
![]()
Well, I created this thing with jotform
Offline
Thats pretty good!
Now tell me, did you code it by yourself?
Offline
ProgrammingFreak wrote:
Thats pretty good!
Now tell me, did you code it by yourself?
Nope: jotform
Offline
I did do some it HTML though, but that's part of Jotform! It's also how I created photolink, another link finder!
Offline
WindowsExplorer wrote:
sparks wrote:
Ever heard of pastie.org? Look it up! Impressing coding though, would you share the php?
![]()
Well, I created this thing with jotform
![]()
If you would like the html, here it is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<meta name="HandheldFriendly" content="true" />
<title>Form</title>
<link href="http://cdn.jotfor.ms/jotform.cssgz?3.1.110" rel="stylesheet" type="text/css" />
<style type="text/css">
.form-label{
width:150px !important;
}
.form-label-left{
width:150px !important;
}
.form-line{
padding:10px;
}
.form-label-right{
width:150px !important;
}
body, html{
margin:0;
padding:0;
background:false;
}
.form-all{
margin:0px auto;
padding-top:20px;
width:690px;
color:Black !important;
font-family:Verdana;
font-size:12px;
}
</style>
<script src="http://cdn.jotfor.ms/jotform.jgz?3.1.110" type="text/javascript"></script>
<script type="text/javascript">
JotForm.init();
</script>
</head>
<body>
<form class="jotform-form" action="http://www.jotform.com/submit.php" method="post" enctype="multipart/form-data" name="form_11762025118" id="11762025118" accept-charset="utf-8">
<input type="hidden" name="formID" value="11762025118" />
<div class="form-all">
<ul class="form-section">
<li class="form-line" id="id_3">
<label class="form-label-left" id="label_3" for="input_3"> Upload File: </label>
<div id="cid_3" class="form-input">
<input class="form-upload" type="file" id="input_3" name="q3_uploadFile" file-accept="txt" file-maxsize="10240" />
</div>
</li>
<li class="form-line" id="id_2">
<div id="cid_2" class="form-input-wide">
<div style="margin-left:156px" class="form-buttons-wrapper">
<button id="input_2" type="submit" class="form-submit-button">
Done
</button>
</div>
</div>
</li>
<li style="display:none">
Should be Empty:
<input type="text" name="website" value="" />
</li>
</ul>
</div>
<input type="hidden" id="simple_spc" name="simple_spc" value="11762025118" />
<script type="text/javascript">
document.getElementById("si" + "mple" + "_spc").value = "11762025118-11762025118";
</script>
</form></body>
</html>Offline