TAILIEUCHUNG - PHP and MySQL Web Development - P154

PHP and MySQL Web Development - P154: PHP and MySQL Web Development teaches the reader to develop dynamic, secure, commercial Web sites. Using the same accessible, popular teaching style of the first edition, this best-selling book has been updated to reflect the rapidly changing landscape of MySQL and PHP. | Further Reading 737 Problems with Headers One minor thing to note in all these scripts is that we need to tell the browser what type of data we are going to send it. We have done this by sending a content-type HTTP header for example header Content-type application msword or header Content-type application pdf One thing to be aware of is that browsers deal with these headers inconsistently. In particular Internet Explorer often chooses to ignore the MIME type and attempt to automatically detect the type of file. This particular problem seems to have improved in recent versions of Internet Explorer. Some of our headers seemed to cause problems with session control headers. There are a few ways around this. We have found using GET parameters rather than POST or session variable parameters avoids the problem. Another solution is not to use an inline PDF but to get the user to download it instead as shown in the Hello World PDFlib example. You can also avoid problems if you are willing to write two slightly different versions of your code one for Netscape and one for Internet Explorer. Extending the Project Adding some more realistic assessment tasks to the examination obviously could extend this project but it is really intended as an example of ways to deliver your own documents. Customized documents that you might want to deliver online could include legal documents partially filled in order or application forms or forms needed by government departments. Further Reading We suggest you visit Adobe s site if you want to know more about the PDF and FDF formats http 31 Connecting to Web Services with XML and SOAP IN THE LAST FEW YEARS XML Extensible Markup Language has become an important means of communication. In this chapter we will use Amazon s new Web Services interface to build a shopping cart on our local Web site that uses Amazon as a back end. We will call this application Tahuayo which is the name of an Amazonian tributary. We will use two .

TỪ KHÓA LIÊN QUAN
Đã 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.