22nd January 2010, 21:35
What is preg_match()?
The preg_match() function will perform a Perl-compatible regular expression pattern match. Sometimes you will want to match a backslash, but it’s not as straightforward as you might first think!
Continue reading "How to Match A Backslash with preg_match() in PHP" »
21st January 2010, 22:03
The MySQL relational database management system (RDBMS) supports a wide range of data types. The data type that you chose for your table columns is important because it determines how MySQL will store your data. It’s possible that any one of multiple data types could be used to store a piece of data, but which one is the best or optimal data type to use?
Continue reading "How to Choose the Optimal MySQL Data Type" »
7th January 2010, 20:09
The Goal
I recently had to redirect an old website to a new domain. The old domain had 11 pages indexed by Google but I only needed them to redirect to the home page of the new domain, rather than all having separate redirects to new URLs.
If I were using Apache this type of redirect would be easy to implement with a .htaccess rewrite rule. Therefore, I expected that Microsoft’s IIS web server would have a similar scripting method to redirect a whole website to a new domain.
(This was a shared hosting account so access to the IIS sever itself was not possible.)
Continue reading "Redirect Single Pages with ASP.NET" »
19th December 2009, 21:17
We learned in the previous section (basics of an HTML web page) how a basic blank HTML web page is made up. Once you have your empty page you need to start using further HTML tags to insert content into the web page.
Continue reading "Basic HTML Tags" »
12th December 2009, 21:07
A very brief introduction to the structure and content of HTML pages. Most versions of HTML are structured similarly with a simple set of requirements and common elements. Certain tags are mandatory, and once they are present a valid HTML page exists. All that’s left then is to add the content.
Continue reading "Basics of an HTML Web Page" »
10th December 2009, 21:06
HTML stands for Hypertext Markup Language, and a simple way to think of it is that is the markup language that web pages are written in. Its precise nature is more complicated but this post simply hopes to provide you with a basic understanding of what HTML is and what it does. This Wikipedia article about HTML will provide further detail if required.
Continue reading "Introduction to HTML" »