1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fake upload code

Discussion in 'HTML & JavaScript' started by wargamer6, Sep 16, 2009.

  1. wargamer6

    wargamer6 Junior Member

    Joined:
    Apr 13, 2008
    Messages:
    190
    Likes Received:
    47
    Does anyone know where I could find html or some sort of code that would create a "fake" upload option for CL jobs? What I'm looking for is something similar to wtfpwned's code in his video.
     
  2. cyklotrial

    cyklotrial Regular Member

    Joined:
    Oct 13, 2008
    Messages:
    248
    Likes Received:
    82
    Location:
    Wonderland
    can you post link to this vid? I think i know about what you are talking about but i'm not sure in 100%.
    If i'm right it is easy to do.
     
  3. mosoi148

    mosoi148 Regular Member

    Joined:
    Apr 10, 2009
    Messages:
    357
    Likes Received:
    205
    Occupation:
    Black Hatter In Training
    Location:
    In My Head
    That thread was removed recently.
     
  4. cyklotrial

    cyklotrial Regular Member

    Joined:
    Oct 13, 2008
    Messages:
    248
    Likes Received:
    82
    Location:
    Wonderland
    HTML:
    <script>
    function submitForm(){
           	document.getElementById('loading').style.display='block';
    	document.getElementById('form').style.display='none';
    	setTimeout("done();",10000)
    	}
    
    function done(){
    document.getElementById('loading').style.display='none';
    document.getElementById('succes').style.display='block';
    }
    
    </script>
    <div id="loading" style="display:none">uploading...(here you can put animated gif)</div>
    <div id="succes" style="display:none">upload done</div>
    <div id="form">
    <form action="" method="get">
    	<input type="file" name="some_name" value="" id="" />
    
    	<p><input type="button" value="Continue" id="submit" onclick="submitForm()"/></p>
    </form>
    </div>
    For better resoults you can use some animations, animated gif and eg. ajax query to make browser bussy for a while :D
     
    • Thanks Thanks x 2
  5. jimmyc

    jimmyc Newbie

    Joined:
    Nov 13, 2008
    Messages:
    45
    Likes Received:
    10
    what happend to wtfpwned any way?