Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,028

HOME > PHP > PHP Forum > ติดตั้ง PWEBstationONE WYSIWYG OnLine Editor ในส่วน upload ไม่ได้



 

ติดตั้ง PWEBstationONE WYSIWYG OnLine Editor ในส่วน upload ไม่ได้

 



Topic : 005068

Guest




ตรงส่วนที่เป็นการ upload ที่เป็นไฟล์ php


// This is the FULL path to the directory where the program files
// are located.
// NOTE: If you put it in your "web root" directory, the $ROOT and
// $PATH settings will then be the same. DO NOT add a trailing slash.
$PATH = "/usr/local/etc/....";
ผมต้องเขียน Path ยังไง

// This is the FULL path to the directory where your website files are
// located on your server (Your web root). DO NOT add a trailing slash.
$ROOT = "/usr/local/etc/....";
ผมต้องเขียน Path ยังไง

// Set to the full url to access the value you set for $ROOT
$PREVIEW = "http://....";

// Set to the full url to access the value you set for $PATH.
$URL = "http://....";

// Specify a list of folders to ignore when browsing
$IGNORE = array("temp","tmp");

// What kind of file types should be visible to the users when browsing for
// images using the WYSIWYG editor? (The extensions you specify MUST be
// for an image filetype or you will get javascript errors.)
$VALID_IMAGE_FILE_TYPES = array("gif","jpg","jpeg","png","png");

// What kind of file types should be visible to the users when browsing for
// links using the WYSIWYG editor?
$VALID_LINK_FILE_TYPES = array("html","htm","doc","pdf","xls","ppt","txt","jpg","gif","png","phtml","php");

// Set to 1 to use authentication, otherwise set to 0.
// NOTE: If you don't need password protection, set AUTH to 0.
$AUTH = 0;
$USER = "";
$PASS = "";

// To turn off errors from appearing in your email inbox,
// set to 0.
$REPORT = 0;

// Set to 1 to enabling printing of WYSIWYG debug messages, otherwise
// set to 0
$DEBUG = 1;

// You can specify an unlimited number of upload locations for your users. To
// add more locations, just follow the variable pattern. (Be sure to increment
// the array number for each new location.)
// PATH - The _full_ path to the destination directory. (DO NOT add a trailing
// slash.) This directory MUST already exist and have permissions of 777.
// NAME - The text users will see in the Upload window for this location.
// OVERWRITE - For this location, allow files that already exist to be
// overwritten? For yes, set to 1; for no, set to 0.


$absolute_path = "/usr/local/etc/httpd/htdocs/test/htmlarea/gallery/uploaded"; //Absolute path to where files are uploaded
$size_limit = "yes"; //do you want a size limit yes or no.
$limit_size = "150000"; //How big do you want size limit to be in bytes
$limit_ext = "yes"; //do you want to limit the extensions of files uploaded
$ext_count = "4"; //total number of extensions in array below
$extensions = array(".gif", ".jpg", ".jpeg", ".png"); //List extensions you want files uploaded to be

// Do you want to limit the acceptable extensions of uploaded file types?
// To enable set to 1; to disable change to 0.
$LIMIT_UPLOAD_FILE_TYPES = 1;

// If enabled, specify a list of acceptable file types for the upload function.
$VALID_UPLOAD_FILE_TYPES = array("gif","jpg","jpeg","png");

// Do you want to set a size limit for uploaded files?
// To enable set to 1; to disable change to 0.
$UPLOAD_FILE_SIZE_LIMIT = 1;

// If enabled, specify the size limit (in bytes) for uploaded files.
$UPLOAD_FILE_MAX_SIZE = 150000;

define("MAXSIZE", $MAXSIZE);

/* What is the root of the site? THE LAST "/" IS REQUIRED */
define("ROOTFOLDER", "$ROOT/");
define("SITEROOT", "$PREVIEW/");

/* Set to 1 to enable the printing of debug messages, otherwise set to 0 */
define("DEBUG", $DEBUG);

ขอคำแนะนำด้วยครับ


Tag : - - - -







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 11 ส.ค. 2548 09:56:20 By : ao View : 2753 Reply : 1
 

 

No. 1

Guest


โหลดไฟล์ Editor อันนี้มาแล้วแตกไฟล์ไม่ได้อะค่ะ ใครมีตัวสมบูรณ์ขอหน่อยนะค่ะ น่าใช้มาก
ยังไงรบกวนส่งเมลมาให้ที่ [email protected] ขอบคุณมากๆนะค่ะ






Date : 23 ก.ค. 2550 14:52:57 By : vivi
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : ติดตั้ง PWEBstationONE WYSIWYG OnLine Editor ในส่วน upload ไม่ได้
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 01
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่