tailieunhanh - Secure PHP Building 50 Practical Applications Development phần 7

Bộ phận tiếp thị đã được đến với những cách thức sáng tạo của việc sử dụng e-mail để tăng tiếp xúc với các công ty và khách hàng qua e-mail. Trong quá trình này, khái niệm Hãy cho một người bạn được phát minh. Quá trình này liên quan đến việc nhúng một hình thức nhỏ HTML trong tin nhắn HTML được gửi cho khách hàng | Chapter 15 E-campaign System 523 setEcampaignCampaignlD This method sets the current campaign ID to the campaign ID parameter if it is not null and returns the current campaign ID. getURLResponse This method returns URL click-through count for each tracked URL in a campaign. getUnsubResponse This method returns the total unsubscription track for a campaign. getBounceResponse This method returns the total number of immediate bounces for a given campaign. Creating Common Configuration and Resource Files Like all other applications you ve developed in this book the e-campaign applications also use a standard set of configuration message and error files. These files are discussed in the following sections. Creating an e-campaign configuration file The primary configuration file for the entire e-campaign system is called which can be found in ch15 apps directory in the CDROM. Table 15-2 discusses each configuration variable. Table 15-2 VARIABLES Configuration Variable Purpose PEAR_DIR Set to the directory containing the PEAR package specifically the DB module needed for in the application framework. PHPLIB_DIR Set to the PHPLIB directory which contains the PHPLIB packages specifically the package needed for template manipulation. APP_FRAMEWORK_DIR Set to the application framework directory. Continued 524 Part 111 Developing E-mail Solutions Table 15-2 VARIABLES Continued Configuration Variable Purpose PATH Set to the combined directory path consisting of the PEAR_DIR the PHPLIB_DIR and the APP_FRAMEWORK_DIR. This path is used with the ini_set method to redefine the entry for include_path to include PATH ahead of the default path. This allows PHP to find the application framework PHPLIB and PEAR-related files. AUTHENTICATION_URL Set to the central login application URL. LOGOUT_URL Set to the central logout application URL. HOME_URL Set to the topmost URL of the site. If the URL redirection .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.