This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-06-26 17:31:51

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Easy Upload

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!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#2 2011-06-26 17:39:51

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Easy Upload

Ever heard of pastie.org? Look it up! Impressing coding though, would you share the php?  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#3 2011-06-27 04:08:44

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Easy Upload

sparks wrote:

Ever heard of pastie.org? Look it up! Impressing coding though, would you share the php?  smile

Well, I created this thing with jotform  smile


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#4 2011-06-27 15:01:17

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Easy Upload

Thats pretty good!  big_smile  Now tell me, did you code it by yourself?

Offline

 

#5 2011-06-27 15:55:01

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Easy Upload

ProgrammingFreak wrote:

Thats pretty good!  big_smile  Now tell me, did you code it by yourself?

Nope: jotform  wink

Offline

 

#6 2011-06-27 16:21:28

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Easy Upload

I did do some it HTML though, but that's part of Jotform! It's also how I created photolink, another link finder!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#7 2011-06-28 04:13:15

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Easy Upload

WindowsExplorer wrote:

sparks wrote:

Ever heard of pastie.org? Look it up! Impressing coding though, would you share the php?  smile

Well, I created this thing with jotform  smile

If you would like the html, here it is:

Code:

<!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>

http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

Board footer