PHP Internet Services Introduction - Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript PHP Internet Services Introduction - Supercoders | Web Development and Design | Tutorial for Java, PHP, HTML, Javascript

Breaking

Post Top Ad

Post Top Ad

Friday, June 21, 2019

PHP Internet Services Introduction

PHP  Internet Services


Introduction


Before there was HTTP, there was FTP, IMAP, POP3, and a whole alphabet soup of other protocols. Many people quickly embraced web browsers because the browser provided an integrated program that let them check their email, transfer files, and view documents without worrying about the details surrounding the underlying means of communication. PHP provides functions, both natively and through PEAR, to use these other protocols. With them, you can use PHP to create web frontend applications that perform all sorts of network-enabled tasks, such as looking up domain names or sending web-based email. Although PHP simplifies these jobs, it is important to understand the strengths and limitations of each protocol.

Cover the most popular feature of all: email. Shows how to send basic email messages. Describes MIME-encoded email, which enables you to send plain text and HTML-formatted messages. The IMAP and POP3 protocols, which are used to read mailboxes.

Covers how to exchange files using FTP (file transfer protocol), which is a method for sending and receiving files across the Internet. FTP servers can require users to log in with a password or allow anonymous usage.

Searching LDAP servers discusses how to authenticate users against an LDAP server. LDAP servers are used as address books and as centralized stores for user information. They’re optimized for information retrieval and can be configured to replicate their data to ensure high reliability and quick response times.

The chapter concludes with recipes on networking. Covers DNS lookups, both from domain name to IP and vice versa. Tells how to check if a host is up and accessible with PEAR’s ping module. Learn how to get information about do‐mains.

Other parts of the book deal with some network protocols as well. HTTP is covered in detail. Those recipes discuss how to fetch URLs in a variety of different ways. Protocols that combine HTTP and JSON are covered. Those two chapters discuss consuming and serving RESTful APIs.


No comments:

Post a Comment

Post Top Ad