- This week we will continue to look at web server scripting, and will cover enough server-side programming (PHP) to make you dangerous :-)
- Later on in the semester we will revisit PHP and use it to create our own customized web service.
PHP originally stood for Personal Home Page, but it now stands for the recursive "backronym" PHP: Hypertext Preprocessor. PHP code may be embedded into HTML code, or it can be used in combination with various web template systems, web content management systems, and web frameworks. -- https://en.wikipedia.org/wiki/PHP
Anything. PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. But PHP can do much more. - http://php.net/manual/en/intro-whatcando.php
- PHP can also be used to write command-line programs
- It can also be used for "Screen Scraping" - which is downloading and parsing web pages and other files
- One of PHP's most powerful features is its support for a wide variety of databases
- PHP also has support for talking to other web-related services using protocols such as LDAP, IMAP, SNMP, NNTP, POP3 and HTTP. This week we will use PHP to send email via a "Contact Us" form (which is the SMTP - "Simple Mail Transfer Protocol")
See the mycourses dropboxes for due dates.
- 0 - About this PHP Tutorial Series
- 1 - Intro to PHP
- 2 - PHP Scalars & Data Types
- 3 - PHP Arrays
- 4 - PHP Mail & Forms
- HW - Configuring php.ini
- HW - PHP "Fact of the Day" Page
- Demo - PHP File (Directory) Lister