Upload Script

Thảo luận trong 'Lập Trình Web' bắt đầu bởi cafenhieusua™, 23/2/07.

  1. cafenhieusua™

    cafenhieusua™ T.E.T.Я.I.S Lão Làng GVN

    Tham gia ngày:
    18/8/06
    Bài viết:
    504
    Hum nay tò mò ngùi nghịch chơi lèm gần xong rùi hem up đc tức ghê
    Phiên bản mình dùng là UploadScript_v1[1].02_(Free)
    Nội dung file config.php nè
    PHP:
    <?php
    /*******************************************************************
    UPLOADSCRIPT v1.0 (Free)
    Copyright (c) 2006 Hyperweb. All rights reserved.
    Homepage: http://www.uploadscript.net
    *******************************************************************/

    extract ($_REQUEST);

    $sitename "cafenhieusua";
    //// the name of your site as you want it to appear

    $scripturl "http://cafenhieusua.ifastnet.com/uploadscript/";
    //// the URL to this script with a trailing slash

    $maxfilesize 10;
    //// the maximum file size allowed to be uploaded (in megabytes)

    $downloadtimelimit 60;
    //// time users must wait before downloading another file (in minutes)

    $nolimitsize 0.25;
    //// if a file is under this many megabytes, there is no time limit

    $deleteafter 30;
    //// delete files if not downloaded after this many days

    $downloadtimer 30;
    //// length of the timer on the download page (in seconds)

    $enable_filelist true;
    //// allows users to see a list of uploaded files -- set to false to disable

    $perpage 50;
    //// if $enable_filelist is true (above), how many files to display per page (recommended default is 50);

    $enable_toplist true;
    //// allows users to see a "top 10" list of uploaded files -- set to false to disable

    $enable_emailing true;
    //// allows users to send the file link to a specified email address -- set to false to disable

    //$allowedtypes = array("txt","gif","jpg","jpeg","bmp","zip","rar","ace","wmv","mpg","mpeg","mov","avi","mp3");
    //// remove the //'s from the above line to enable file extention blocking
    //// only file extentions that are noted in the above array will be allowed
    ?>
    Đoạn này trong file readme cũng set full thuộc tính 777 luôn nè
    Mã:
     + Edit the variables in config.php with your information
     + Upload all files and folders to your desired directory
     + CHMOD all of the .txt files to 777
     + CHMOD the 'storage' folder to 777
     + CHMOD the 'storagedata' folder to 777
     + CHMOD the 'urltemp' folder to 777
    Đã set password admin log vào đc rùi, nhưng trang index hem thấy gì ngoài white color :'>
    Nhưng cái này cóa vẻ ngon lém nè
    nè, mình cóa lèm sai chỗ nèo hem zậy ?_?
     
  2. Nguyen_Kain

    Nguyen_Kain Quậy hết mình Moderator

    Tham gia ngày:
    28/5/04
    Bài viết:
    1,299
    Lôi trang trắng thông thường là do host hỗ trợ ko tốt , hoặc trong lúc upload bạn đã làm sai sót vài thứ , ở đây thì mình thiên về cái việc host hỗ trợ không tốt !

    Bạn chuyển qua host khác up lại xem có khá hơn không ?
     

Chia sẻ trang này