Sherlok
Active Member
Hiho.
Can anyone code it? ;d
LOOKS: Uploadnij
- New files will be added to /files folder
- If uploaded filename is the same as uploaded before, script add one, new symbol (from: 1 - 9, A - Z, a - z) to filename (like: myhouse.rar, myhousef.rar)
Thanks :wub: :thumbup:
Rep++ for help
Can anyone code it? ;d
LOOKS: Uploadnij
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Uploadnij</title>
<style type="text/css">
#link {
background: #FFF;
width: 238px;
border: #A7A6AA 1px solid;
}
</style>
</head>
<body>
<input type="button" value="+" /> \\This button add new input for upload more files<br />
<form enctype="multipart/form-data" action="#" method="POST">
<input type="file" name="browse" /> <span style="color: #008000;">File called <span style="font-weight: bold;">filename.png</span> has been succesfully uploaded.</span> (shows when you succesfully upload your file)<br />
<input id="link" type="text" readonly="readonly" onclick="this.focus(); this.select();" /> \\When you select file to upload and click 'Uploadnij', in this input shows link to uploaded file<br />
<br />
<input type="submit" value="Uploadnij" />
</form>
</body>
</html>
- New files will be added to /files folder
- If uploaded filename is the same as uploaded before, script add one, new symbol (from: 1 - 9, A - Z, a - z) to filename (like: myhouse.rar, myhousef.rar)
Thanks :wub: :thumbup:
Rep++ for help
Last edited: