Some way down the road the default php.ini started to get shipped with settings that stopped the error printing. The default location of this file is /usr/local/lib/php.ini, and the most common settings that controls the error reporting behaviour is listed below: error_reporting = E_ALL | E_ERROR | ... | E_USER_NOTICE display_errors = On | Off… [Read more…]
Posted in: Uncategorized
In this text I asume you have a basic understanding of character sets. Take a look at the reference section if you need to take a look into that area. You can use the code charts at http://www.unicode.org/charts/ to see the code points of the characters we will use. I use Microsoft Calculator to convert… [Read more…]
In this article you will get to know a litte about how character sets, XML and PHP5 work together. We will also look a bit deeper into the most common character sets and encodings. UTF-8 First we need to talk a little so that you will be able to grasp the two terms: character set… [Read more…]
It’s allways good to separate code and markup, and with DOM you can do such a thing. We will look at these properties of DOM in this article: Load and parse a base XHTML file Fetch elements using XPath Append some XHTML elements Print the modified document Let’s start with the file base.xml: <?xml version="1.0"… [Read more…]
In this paper we will build a simple but powerful system containing some of the principles of archetypes. We will first look at how we can specify archetypes. Then we will make some instances and build the part of the system that displays them properly. Later we will implement a user interface where we can… [Read more…]
Posted in: Uncategorized
March 21, 2007
1