PHP

61 articles about php development, tools, and best practices

What is xmlrpc.php?

It is a script which allows clients to make procedural calls over the net.
As it says in the name, the encoding is XML and because it is used on …

Read Article →

A PHP Mail Class

Below is a Mail class I created in PHP, it requires 4 arguments on initiation of the class via the constructor and uses the method ->send() to send …

Read Article →

unexpected T_IF

Getting “Parse error: syntax error, unexpected T_IF” in PHP?

Check if the preceding line ends with a ;

This is one of the most common PHP …

Read Article →