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.
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.
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.
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.
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 .
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.
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>
By Kevin Waterson Contents What is SPL. SPL provides a standard set of interfaces for PHP5.
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.
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.
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.
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.