Caffeinated Crash Course in PHP


Tuesday January 13, 7:30-10:30pm, Room 1-115

No enrollment limit, no advance sign up
Single session event
Prereq: Some basic programming experience encouraged

Although PHP may not stand for "Programmed Hypertext Pwnage," it just may be that awesome. PHP is a server-side scripting language that is used on millions of websites around the world to dynamically generate websites. In other words, your PHP code generates the HTML that is displayed in your internet browser. This class will be a fast-paced introduction to programming in PHP that will teach you the concepts and uses of the language, as well as take you through several examples. Some topics to be covered: basic syntax, using PHP to generate websites, accessing MySQL databases, using cookies and sessions, security, PHP extensions such as cURL (for accessing outside websites) and GD (for making images), and more. Some basic programming experience and familiarity with HTML is highly encouraged..

Some topics that will be covered:

Instructor: Steve Levine (sjlevine)

Although no RSVP or sign-up is required for this class, I'd appreciate it if you could send me a quick email if you're planning to attend, just so I can get a rough estimate as to how many people to expect.

Thank you all very for much coming!

As I promised in lecture, below are the presentation slides that I used in class. Also, I've included a few links below to some of the example files demonstrated, including cookie and session examples, as well as the MySQLi XSS and safe-version examples.

Here are the lecture slides: Lecture Slides

Cookies Example

Sessions Example

MySQLi XSS Example

MySQLi Safe Example

Please note that the code for the above examples can be found in the lecture slides.

Again, thank all for coming! If you have any questions about PHP, feel free to send me an email at the address above.

Caffeinated Crash Course in PHP, 2009