TAILIEUCHUNG - Professional LAMP Linux Apache, MySQL and PHP5 Web Development phần 8

khởi tạo các biến có thể không an toàn, và chắc chắn rằng error_reporting được thiết lập để E_ALL khi phát triển và thử nghiệm các trang web. Nếu bạn không thể vô hiệu hóa register_globals trong , bạn có thể sử dụng một htaccess để tắt nó đi, nếu được kích hoạt trong Apache. | PHP Extensions php require_once img new WebImage img- load img- caption An example of plantlife found on Maui. 15 5 true img- display If everything goes as planned you should see something similar to Figure . Figure 261 Chapter 10 Last try out the image logo application. In this example you re going to place a logo in the lower-right corner of the image on top of the caption box php require_once img new WebImage img- load img- caption An example of plantlife found on Maui. 13 5 true img- logo r b 5 img- display And now a logo should appear resized a little in the lower-right corner with 5px of padding as in Figure . Figure 262 PHP Extensions As you can see using the GD library is not hard to use and allows for quite a bit of flexibility and control over your images. There are many other more advanced functions you can use all of which can be found at the GD section of the PHP Manual http gd . Ming Ming is a third-party extension to PHP that allows a user to create Shockwave Flash files without actually having to use Macromedia s Flash studio. The functionality that Ming provides isn t always the same as what is available in Macromedia s Flash because of the nature of how the Flash files are created using PHP and Ming. Ming does provide a method to create Flash files that is low cost and allows for content to be dynamically created when it is needed. About Ming The usefulness of dynamically created Flash files can sometimes be lost for some people especially because you will not have the precise visual control over the content layout that people who use Macromedia s Flash Studio employ. Also the feature set of Ming is limited to that of Flash version 4 which is several versions behind the latest available. But being able to script the creation and add dynamic content to the application is something that you can t do using Macromedia s Flash .

Đã 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.