Salam, Qonaq
 Əsas Səhifə | GirişQeydiyyatDil seç: AZ  

Son Aktivlik

Master Forum | Skript / Komek | Komek Lazimdir
Axtarış
  Photo.Favorit.Ws komek
STAROK STAROK [Off] [#] (13.02.2012 / 00:06)
WapUsta Agsakqali
Salamlar men isteyiremki burda bir defeye 5 shekil yuklemek olsun bunu nece artirim http://photo.favorit.ws
buda php
  1. <?php
  2.  
  3.  
  4. header ("Content-type: text/html; charset=utf-8");
  5. header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
  6. header("Cache-Control: no-cache, must-relative");
  7.  
  8.  
  9.  
  10.  
  11.  
  12. echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
  13. echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DT ... l.dtd\">\n";
  14. echo "<html><center>\n";
  15. echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n";
  16. echo "<link rel=\"shortcut icon\" href=\"$favicon \" /><title>Favorit.Ws</title>\n";
  17. echo "<style type=\"text/css\">
  18. body {
  19. background: #3aa5d1;
  20. background-image: url(../images/3.jpg);
  21. background-repeat: repeat-x;
  22. margin-top: 0px;
  23. color: #eff5f9;
  24.  
  25. }
  26.  
  27. .copy {
  28. color: #eff5f9;
  29. font-family: Arial;
  30. font-size: 8pt;
  31.  
  32. }
  33. .center {
  34. margin-top: 73px;
  35. font-family: Arial;
  36.  
  37. }
  38.  
  39. .bag {
  40. background-color: #f9fbe8;
  41. }
  42. .text1 {
  43. color: #eff5f9;
  44. text-decoration: none;
  45. }
  46. .text1:hover {
  47. text-decoration: underline;
  48.  
  49. }
  50. .form1{
  51. background-color: #3aa5d1;
  52. color: white;
  53. border: 1px solid;
  54. }
  55. .form{
  56. background-color: #dae9f1;
  57. color: #36a0cf;
  58. border: 1px solid ;
  59. }
  60.  
  61.  
  62. </style></head><body>";
  63. echo "<img src=\"img/logo.png\" alt=\"logo\"/><br/>\n";
  64.  
  65. echo "Siz burdan sekillerinizi upload edib adresini saytiniza yerlesdire bilersiz! <br />\n";
  66.  
  67.  
  68. echo "<u>Upload etdiyiniz sekiller bazadan silimmir rahat ola bilersiz</u><br />\n";
  69.  
  70.  
  71.  
  72.  
  73.  
  74. if(!isset($_POST['action']))
  75. {
  76.  
  77. if(isset($_GET['toid']))
  78. {
  79. $toid = intval($_GET['toid']);
  80. $q = mysql_query("SELECT `nickname` FROM `chat_users` WHERE `id` = '".$toid."';");
  81. $nick = mysql_result($q, 0);
  82. }
  83. else
  84. {
  85. $nick = "";
  86. }
  87.  
  88. echo "<div class=\"form\">\n";
  89. echo "<form action=\"index.php\" method=\"post\" enctype=\"multipart/form-data\">\n";
  90.  
  91.  
  92.  
  93. echo "<b>Shekli Daxil et:</b> $title<br/>\n";
  94. echo "<input type=\"file\" name=\"mms\" /><br />\n";
  95.  
  96.  
  97. echo "<input type=\"hidden\" name=\"action\" value=\"upload\" />\n";
  98. echo "<input type=\"submit\" value=\"Gonder\" /><br /></form></div>\n";
  99. }
  100. else
  101. {
  102. $lat = array("Ch", "ch", "Ye", "ye", "Yu", "yu", "Ya", "ya", "Shc", "shc", "Sh", "sh", "Yo", "yo", "Q", "q", "'", "A", "a", "B", "b", "C", "c", "D", "d", "E", "e", "F", "f", "G", "g", "H", "h", "I", "i", "J", "j", "K", "k", "L", "l", "M", "m", "N", "n", "O", "o", "P", "p", "R", "r", "S", "s", "T", "t", "U", "u", "V", "v", "X", "x", "Z", "z");
  103. $rus = array("&#1063;", "&#1095;", "&#1069;", "&#1101;", "&#1070;", "&#1102;", "&#1071;", "&#1103;", "&#1065;", "&#1097;", "&#1064;", "&#1096;", "&#1025;", "&#1105;", "&#1068;", "&#1100;", "&#1098;", "&#1040;", "&#1072;", "&#1041;", "&#1073;", "&#1062;", "&#1094;", "&#1044;", "&#1076;", "&#1045;", "&#1077;", "&#1060;", "&#1092;", "&#1043;", "&#1075;", "&#1061;", "&#1093;", "&#1048;", "&#1080;", "&#1046;", "&#1078;", "&#1050;", "&#1082;", "&#1051;", "&#1083;", "&#1052;", "&#1084;", "&#1053;", "&#1085;", "&#1054;", "&#1086;", "&#1055;", "&#1087;", "&#1056;", "&#1088;", "&#1057;", "&#1089;", "&#1058;", "&#1090;", "&#1059;", "&#1091;", "&#1042;", "&#1074;", "&#1061;", "&#1093;", "&#1047;", "&#1079;");
  104. $title = htmlspecialchars(mysql_escape_string(trim($_POST['title'])));
  105. $nick = htmlspecialchars(mysql_escape_string(trim($_POST['nick'])));
  106. $text = htmlspecialchars(mysql_escape_string(trim($_POST['text'])));
  107.  
  108. $tip = htmlspecialchars(mysql_escape_string(trim($_POST['tip'])));
  109.  
  110.  
  111.  
  112. $ad = rand(2,999999);
  113.  
  114.  
  115. if(!is_uploaded_file($_FILES['mms']['tmp_name']))
  116. {
  117. echo "Seflik.<br />\n";
  118. break;
  119. }
  120.  
  121. $propr = getimagesize($_FILES['mms']['tmp_name']);
  122. if(($propr[2] !== 1) && ($propr[2] !== 2) && ($propr[2] !== 3))
  123. {
  124. echo "Sekilin tipi gif veya jpeg ola biler.<br />\n";
  125. break;
  126. }
  127.  
  128. if(filesize($_FILES['photo']['tmp_name']) > 1024 * 800)
  129. {
  130. echo " sekil 500Kb. artq ola bilmez<br />\n";
  131. break;
  132. }
  133.  
  134.  
  135. if($propr[0] > 1500 || $propr[1] > 1000)
  136. {
  137. echo "Sekilin maksimal olcusu 1500x1000. ola biler<br />\n";
  138. break;
  139. }
  140.  
  141. $mms = substr($_FILES['mms']['type'], 6);
  142.  
  143.  
  144.  
  145.  
  146. $ti = substr($_FILES['mms']['type'], 6);
  147.  
  148. $m = rand(2,9999);
  149.  
  150.  
  151. if(copy($_FILES['mms']['tmp_name'], "img/".$ad."aderd".$m.".".$ti.""))
  152. if(copy($_FILES['mms']['tmp_name'], "img/".$ad."aderd".$m.".".$ti.""))
  153. {
  154.  
  155.  
  156. echo " <u>Hazirdir Kopy edin!</u><br/>\n";
  157.  
  158. echo "<img src=\"img/".$ad."aderd".$m.".".$ti."\" alt=\"foto\"/><br/>\n";
  159.  
  160. echo " <b>http://photo.favorit.ws/img/".$ad."aderd".$m.".".$ti."</b><br/>\n";
  161.  
  162. echo "<b><a href=\"http://photo.favorit.ws/img/.$ad."aderd".$m.".".$ti."\">YUKLE!</a></b><br/>\n";
  163.  
  164.  
  165.  
  166.  
  167.  
  168. }
  169.  
  170.  
  171. }
  172.  
  173.  
  174.  
  175.  
  176. echo "<br/><b><a href=\"http://Favorit.Ws\">Favorit.Ws</b><br/>\n";
  177.  
  178.  
  179.  
  180.  
  181.  
  182. echo "Copyrigth: <small>Fvorit.Ws</small> <br/>\n";
  183.  
  184.  
  185. echo "<br/><span style=\"font-size: small\"></span><br/>\n";
  186. echo "</body></html>";
  187.  
  188. ?>
Sistem Sistem [Off] [#] (13.02.2012 / 00:06)
WapUsta.Net :)
Tebrikler !Yeni movzu ugurla yaradildi! Eger movzu Qaydalara uygun olmazsa silinecek. Odur ki bir daha Qaydalari diqqetle oxuyun ! Movzudan kenara chixan cezalandirilacaq !
STAROK STAROK [Off] [#] (13.02.2012 / 08:45)
WapUsta Agsakqali
olmadi bilen?
http http [Off] [#] (13.02.2012 / 09:12)
HeYaT_qIsA_DeYmEz_qIzA
bundan 2 dene ust uste qoy gor alinir
echo "<input type=\"file\"
name=\"mms\" /><br />\n";
  Cemi: 4

Mövzuya Baxanlar (0 nəfər)
Müellife göre filtreleme
Mövzunu YükleForuma Keç
Üst Yenilikler
Free mobile porn videos download
 Əsas Səhifə  Onlayn: 0 / 10 nəfər

WapUsta.Net - Wap Ustaların Mekanı

© WapUsta.Net