Why using GMail for sending mail messages?
First of all it’s FREE! Sure most website owners can use their own SMTP server for sending email messages from their website,
Posted on 03 November 2011.
First of all it’s FREE! Sure most website owners can use their own SMTP server for sending email messages from their website,
Posted in PHP0 Comments
Posted on 27 October 2011.
Controlling how web pages are cached is basically done using 2 kind of headers: Expires and Cache-Control Continue Reading
Posted in PHP0 Comments
Posted on 18 October 2011.
This page came about as a result of this post that lists Tabs and Slideshow Modules in the Similar Module Review group. The linked post lists several modules that provide either tabbed content or rotating content.
There are two general use cases here:
Posted in PHP0 Comments
Posted on 17 October 2011.
(PHP 5 >= 5.1.0)
date_default_timezone_set — Sets the default timezone used by all date/time functions in a script
Posted in PHP0 Comments
Posted on 17 October 2011.
I used to use eregi for validating email address input that matches to the regular expression.
Posted in PHP0 Comments
Posted on 11 October 2011.
Motivation: For a side project I am working on, I wanted to be able to send a trackback to WordPress blogs (or any blog with an XMLRPC endpoint), using PHP. Simple enough. Continue Reading
Posted in PHP0 Comments
Posted on 08 October 2011.
In my Introduction to jQuery Mobile, I mentioned that I had plans for a simple MVC framework using jQuery Mobile and that I would release it if there was enough interest (there was!). While it’s not completely finished yet, I’ve decided to release it in hopes that others find use in it and can perhaps even contribute towards it’s development. Continue Reading
Posted in Mobile / Tablet, PHP0 Comments
Posted on 07 October 2011.
In addition to the enlarged if – else statement that you will use in most cases, there is also a short structure for an if – else statement. This format uses the so-called “ternary operator ‘. The syntax of this shorthand structure is as follows:
Posted in PHP0 Comments
Posted on 07 October 2011.
I have an associative array in the form key => value where key is a numerical value, however it is not a sequential numerical value. The key is actually an ID number and the value is a count. This is fine for most instances, however I want a function that gets the human-readable name of the array and uses that for the key, without changing the value. Continue Reading
Posted in PHP0 Comments
