Hi..
can i hav the forum to upload a download link url to my server
i hav one but it was messed with a form to submit a file frm pc ...
i want it independantly...here is my code
can any body help me ..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>The DevilsDen - Share your files with your friends, free file hosting</title>
<meta name="robots" content="index, follow, all">
<meta name="keywords" content="file share, share file, free file share, share files, free webhosting, webspace, Web-Hosting, Hosting, Server, Website, script, scripts, Internet, Webhosting, download, files, free download, free downloads, mp3">
<meta name="description" content="Share your files with your friends, quickly, securely, and easily (no signup). T.upload provides free web space for your documents, pictures, music and movies. Share it the easy way!">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function upload () {
if (document.forms[0].fupload.value == "")
{ document.forms[0].fupload.focus();
alert('Please select a file for upload.');
return false;
}
var filename = document.forms[0].fupload.value;
var pregmatch = filename.match(/\.(exe)/);
if(pregmatch)
{
alert("The file type you are trying to upload is not allowed.");
return false;
}
if (document.forms[0].message.value == "")
{ document.forms[0].message.focus();
alert('Please enter a meaningful file message.');
return false;
}
if (document.forms[0].human_check.value == "") {
document.forms[0].human_check.focus();
alert('Please type the verification code as displayed in image.');
return false;
}
if (document.forms[0].human_check.value != "xgoi7"){
document.forms[0].human_check.focus();
alert('Human check verification failed. Please enter type verification code correctly.');
return false;
}
if (!document.forms[0].terms.checked)
{ document.forms[0].terms.focus();
alert("You must agree to the Terms of Service.");
return false;
}
document.getElementById('div1').style.display= 'none';
document.getElementById('div2').style.display= '';
window.setTimeout("Animation()",100);
return true;
}
function load () {
document.getElementById("div2").style.display = "none";
document.getElementById('div1').style.display= '';
}
function Animation()
{
document.images['progres'].src = document.images['progres'].src;
}
//-->
</script>
<style type="text/css">
<!--
a:link { color:#000000; text-decoration:underline; }
a:visited { color:#000000; text-decoration:underline; }
a:hover { color:#FC0101; text-decoration:underline;}
.table1 {
MARGIN: 0px auto; BACKGROUND-COLOR: #ffffff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; border: 1px solid #000000; padding: 10px;
}
.table2 {
MARGIN: 0px auto; BACKGROUND-COLOR: #ffffff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; border: 2px solid #FF0000; padding: 10px;
}
.table3 {
MARGIN: 0px auto; BACKGROUND-COLOR: #ffffff; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; border: 2px solid #00FF00; padding: 10px;
}
body {
background-color: #D8D8D8;
}
h1 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px;}
h3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 15px;}
-->
</style>
</head>
<body onLoad="load();">
<div align="center" id="div2" style="DISPLAY:none">
<table width="400" border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td><div align="center">
<h4><br />
<img src="progression.gif" width="174" height="14" name="progres"></h4>
<H4>Your file upload is in process............ </H4>
</div>
<div align="left">
Note: Don't close this page or browse away while the The DevilsDen progress bar is being displayed above. You'll see a confirmation screen when your file has been successfully sent.
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div>
<div align="center" id="div1">
<table width="760" border="0" cellspacing="0" cellpadding="0" class="table1">
<tr>
<td><div align="center">
<h1>The DevilsDen</h1>
<table width="335" border="0" cellspacing="0" cellpadding="0">
<tr>
<form method="post" enctype="multipart/form-data" pload.php" onsubmit="return upload()">
<td><div align="left">
Select and upload your file (<strong>maximum 25 MB</strong>):<br />
<input type="file" name="fupload" size="35"><br /><br />
Recipient's email addresses, seperated by comma <br>
(optional):<br>
<input type="text" name="mailto" size="50">
<br />
<br />
Your email address <br>
(optional):<br />
<input type="text" name="mailfrom" size="50"><br /><br />
Please enter a meaningful file description (required):<br />
<textarea name="message" rows="4" cols="38" maxlength="300"></textarea><br /><br />
Enter verification code: <img src="human.php"><br />
<input type="text" name="human_check" value=""><br /><br />
<input type="checkbox" name="terms" value="checkbox">
I have read and agree to the <a href="h.html" target="_blank"><strong>terms of service</strong></a>.<br /><br />
<input type="Submit" name="Submit" value="Upload File">
</div>
</td>
</form>
</tr>
</table>
<br>
You have some problem on this page? Please report it <a href="mailto:email@exapmle.com">here</a> (all details).
<br>
<br>
</div>
</td>
</tr>
</table>
</div>
<div align="center">
<
<br />
</div>
<p> </p>
</body>
</html>