lubavitch.com Chabad-Lubavitch news site

Rationalist Judaism

YU Torah Online

Thursday, June 28, 2012

PHP Tutorial for Beginners | Webmonkey | Wired.com

PHP Tutorial for Beginners | Webmonkey | Wired.com: "The whole deal about making dynamic websites is that you want your web page to be as smart as possible — to have code sitting there that can make all sorts of decisions based on different kinds of user input, user conditions (what browser is Visitor X using?), or information that you set yourself. Examples of this could be:

After a user enters an email address, check that it has a valid form (whoever@wherever.com) and if not, serve a page that says, “hey pal, how about a VALID email address?”
Serve one set of HTML to .com domains and another to .gov domains (where you try not to use any big words that might confuse ‘em).
Know whether a customer at your online store is meeting a minimum dollar amount for an online credit card purchase.
And on and on and on – the possibilities are limitless."

'via Blog this'