PHP

FacebookTwitter
extensions

tutorials

http://www.regular-expressions.info/quickstart.html This quick start will quickly get you up to speed with regular expressions. Obviously, this brief introduction cannot explain everything there is to know about regular expressions. For detailed information, consult the regular expression tutorial . Each topic in the quick start corresponds with a topic in the tutorial, so you can easily go back and forth between the two. Text Patterns and Matches A regular expression, or regex for short, is a pattern describing a certain amount of text.

Regular Expression Quick Start

http://www.riverturn.com/blog/?p=239 I use Postfix to relay system messages (e.g. a botched cronjob) over SSL to my Gmail account. These messages are otherwise “lost” because the email is being sent to a dormant mail transfer agent on my Mac. There’s way more that you can do with Postfix, but I’ll just cover the setup I did for my needs. 1. Create the Simple Authentication and Security Layer (SASL) password file.

Gmail Email Relay using Postfix on Mac OS X 10.5 Leopard « Riverturn Blog

Purpose of this document This document presents a number of typical Postfix configurations. This document should be reviewed after you have followed the basic configuration steps as described in the BASIC_CONFIGURATION_README document. http://www.postfix.org/STANDARD_CONFIGURATION_README.html#fantasy

Standard Configuration Examples

http://phpeasystep.com/workshopview.php?id=12 Creating a simple PHP forum tutorial Learn to create forum step by step, in this tutorials use only simple php code but powerful. Overview In this tutorial, create 5 files 1. create_topic.php 2. add_topic.php 3. main_forum.php 4. view_topic.php 5. add_answer.php Steps 1.

Creating a simple PHP forum tutorial

sessions

So you’ve started learning PHP and want to learn how to create a login system? It’s much easier than you think. Using PHP Sessions, we can easily keep track of who’s logged in and redirect unauthorized users away from private pages. There are two pages I will be using for this example: A login page , and a protected page . http://www.webgeekly.com/tutorials/php/how-to-make-a-login-system-with-php/

How to make a simple login system with PHP

tips

We just tried to set up a test site for our new Drupal page. The server had PHP 5.3 but I'd developed the site under PHP 5.2.11. No big deal we thought. http://groups.drupal.org/node/29760

Major issues changing from PHP 5.2.11 to PHP 3 | groups.drupal.org

http://www.webmasterworld.com/forum88/2975.htm At the most basic level, I have a form that contains some text fields that the user is supposed to type some text in. The form has two submit buttons, and the intention is that the program called will do something different depending on which submit button is clicked. For instance <form method = "post" action = "saysomething.php"> Type Name:<br> <input type = "text" name = "username" value = ""> <input type = "submit" value = "Your name"> <input type = "submit" value = "Child's name"> </form>

two submit buttons in the same form? PHP Server Side Scripting forum at WebmasterWorld

user groups

libraries

By Kevin Waterson Contents What is SPL. SPL provides a standard set of interfaces for PHP5. http://www.phpro.org/tutorials/Introduction-to-SPL.html

Introduction to SPL

mysql

PHP usually comes with mysql extension mysql (mysql_... functions) which is rather low-level and requires writing too much code for a trivial tasks: error-checked execution of SQL queries, getting single row from SQL table, getting value from SQL table cell, etc. OOP mysqli extension isn't any better. In this article we present 5 useful functions which greatly simplify majority of real-life MySQL operations. 1. Function good_query . This function is analogous to mysql_query. http://www.anyexample.com/programming/php/5_useful_php_functions_for_mysql_data_fetching.xml

5 useful PHP functions for MySQL data fetching - AnyExample.com

http://php.net/manual/en/function.mysql-set-charset.php

mysql_set_charset - Manual

I just hope that the text below will help someone who is struggling with charset encoding, specially when php-charset is different from the mysql-charset. Let me add that I really think that the php man-pages on the mysql-functions are lacking a lot of details on this important issues. Could someone add some useful text here? Here is my situation.
server issues

debug

Debugging PHP

Komodo can be used to debug PHP programs locally or remotely . Remote PHP debugging encompasses all types of PHP debugging not initiated from within Komodo, including debugging PHP scripts running under a local web server. The instructions below describe how to configure Komodo and PHP for debugging.
komodo

PHP/MySQL

soap

Resources I recomend

Hi, The topics of recommended books & websites comes up very often, so rather than bringing it up every other class posting once seems to make more sense. Just to be clear, these aren't things you need to buy for the course, just things that I have found useful myself while programming.