качване на картинки

SandPrince

Registered
може ли да ми дадете код за форма за качване на картинки на сайт , и същото но за файлове ама RAR
 
SandPrince каза:
може ли да ми дадете код за форма за качване на картинки на сайт , и същото но за файлове ама RAR

Разгледай тук.
http://web-tourist.net/login/login/newsearch.php?wtsearch=n&newsearch=upload
 
SandPrince каза:
а може ли този Upload код да се модифицира за сайт а не за форум:

http://web-tourist.net/login/login/view.php?st=678

Ето ти кода за html:
Код:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>Upload</title>
<meta http-equiv="content-type" content="text/html; charset=Windows-1251">
<meta name="generator" content="Web Page Maker V2">
</head>

<style type="text/css">
.ws6 {font-size: 8px;}
.ws7 {font-size: 9.3px;}
.ws8 {font-size: 11px;}
.ws9 {font-size: 12px;}
.ws10 {font-size: 13px;}
.ws11 {font-size: 15px;}
.ws12 {font-size: 16px;}
.ws14 {font-size: 19px;}
.ws16 {font-size: 21px;}
.ws18 {font-size: 24px;}
.ws20 {font-size: 27px;}
.ws22 {font-size: 29px;}
.ws24 {font-size: 32px;}
.ws26 {font-size: 35px;}
.ws28 {font-size: 37px;}
.ws36 {font-size: 48px;}
.ws48 {font-size: 64px;}
.ws72 {font-size: 96px;}
.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;text-decoration: none;}
</style>


<body bgColor="#C0C0C0">

<div id="html1" style="position:absolute; overflow:hidden; left:320px; top:180px; width:396px; height:318px; z-index:0">

<br clear="all" />
<hr width="70%">
<table border="0" align="center"><tr><td align="center">
<font size="1" face="arial">Images Upload :</font></td><td>
<form action="http://www.imageshack.us/" method="post" enctype="multipart/form-data" target="_blank">

<input name="MAX_FILE_SIZE" value="1048576" type="hidden">
<input name="aff" value="" type="hidden">
<input name="type" value="blank" type="hidden">
<input name="where" value="iframe" type="hidden">
<input class="textfield" name="fileupload" size="20" type="file">
<input value="Качи !" type="submit" target="_blank">
</form>
</td></tr>
<tr><td align="center">
<font size="1" face="arial">Files Upload : </font>
</td><td><form action="http://ul19.rapidshare.de/cgi-bin/upload.cgi?rsuploadid=144176384926629819" method="post" enctype="multipart/form-data" target="_blank">
<input class="textfield" name="filecontent" size="20" type="file">
<input type="submit" name="u" value="Качи !"></form>
</td></tr>
</table>
<hr width="70%">
</div>


</body>
</html>

А пък ако ти трябва да е php ето кода:
Код:
<!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=Windows-1251">
<title>Upload</title>
<style type="text/css">

</style></head>

<body>

<br clear="all" />
<hr width="70%">
<table border="0" align="center"><tr><td align="center">
<font size="1" face="arial">Images Upload :</font></td><td>
<form action="http://www.imageshack.us/" method="post" enctype="multipart/form-data" target="_blank">

<input name="MAX_FILE_SIZE" value="1048576" type="hidden">
<input name="aff" value="" type="hidden">
<input name="type" value="blank" type="hidden">
<input name="where" value="iframe" type="hidden">
<input class="textfield" name="fileupload" size="20" type="file">
<input value="Качи !" type="submit" target="_blank">
</form>
</td></tr>
<tr><td align="center">
<font size="1" face="arial">Files Upload : </font>
</td><td><form action="http://ul19.rapidshare.de/cgi-bin/upload.cgi?rsuploadid=144176384926629819" method="post" enctype="multipart/form-data" target="_blank">
<input class="textfield" name="filecontent" size="20" type="file">
<input type="submit" name="u" value="Качи !"></form>
</td></tr>
</table>
<hr width="70%">

</body>
</html>
 

Back
Горе