![]() |
ציטוט:
הרי אם כל אחד היה משתמש בזה כדי לבטל את ה-safe_mode, סתם בזבוז זמן להשקיע על פונקציה. |
והנה הוראות ההתקנה
Hello and welcome to Upload Files System. This system was written by: http://www.iguildes.net First upload the system to your own website. You have to set the directory ./uploads to CHMOD 0777 and then you can change the file ./sources/config.php as you want. Here you can find a guide how to edit config.php file requirement ~~~~~~~~~~~ Server which supports PHP 4 + To know how to change CHMOD of a directory // ################################################## ########################### // ################################################## ########################### // ################################################## ########################### Configuration File (./sources/config.php) ~~~~~~~~~~~~~~~~~~~~~~~~~~ Here is guide which shows you how to edit config.php which is the configuration file of the system. // ################################################## ########################### $config['lang'] = "en"; This file is located in ./lang/ directory // ################################################## ########################### $config['tpl'] = "default_".$config['lang']; DO NOT TOUCH // becomes with the language file // ################################################## ########################### $config['max_mb'] = 1; Maximum file size to upload in MegaBytes // ################################################## ########################### $config['upload_inputname'] = "filetoupload"; It doesn't matter what you write here. You can leave it. // ################################################## ########################### $config['upload_dir'] = "./uploads/"; It is the directory of the files will be uploaded to. // ################################################## ########################### $config['limit_file_type'] = 1; If you want to make limit to the files type write 1. if not, write 0. // ################################################## ########################### $config['allowed_files_type'] = array('gif','jpg','pjpg','pjpeg','jpeg','png'); If you chose 1 in the line before, here you can edit the types which will be can Upload to the system. // ################################################## ########################### That's it! Have a nice Upload System. ועשיתי ככה... |
ציטוט:
זה טוב למקרים כאלו למשל שלא תכבה את ה safe_mode בשביל משתמש אחד. |
ציטוט:
|
ציטוט:
נניח ויש לך סקריפט זדוני, וביטלת עם הפונקציה ini_set() את המצב הבטוח, בשביל מה בכלל צריך את המצב הבטוח הזה? הרי אם כל סקריפט פשוט יכול לבטל אותו, בשביל מה הוא קיים? |
כל הזמנים הם GMT +2. הזמן כעת הוא 00:41. |
מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ