TD Creative

Intuitive and effective web development.

Archive for the ‘Server Side Coding’ Category

Ping Blogging

Tuesday
Oct 16,2007

It is a good idea, especially in the blogging world to inform the internet of your new post, this has 2 direct benefits:

  1. Lets people know you have created a new post.
  2. Drives potentially more traffic to your blog.

Many bloggers use wordpress which can automatically notify one or more servers each time the blogger creates a new post or updates an existing one.  Many other blogging platforms will attempt to do the same.  For the people who are slightly technologically minded, “the tool sends an XML-RPC signal to one or more “ping servers,” which can then generate a list of blogs that have new material“. - wikipedia.

(more…)

Wednesday
Sep 5,2007

This is a simple and quick expansion of avoiding SQL injection.

It is important to remember that characters such as any input from a user could contain potentially dangerous characters such as “#”, “%”, or ” “.  It is important these characters are sanitized otherwise they could be used to create a malicious attack on a mySQL database.

(more…)

Wednesday
Sep 5,2007

This is a very quick tip for showing your server, configuration and PHP settings.

A description from PHP.net

Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.

Because every system is setup differently, phpinfo() is commonly used to check configuration settings and for available predefined variables on a given system.

phpinfo() is also a valuable debugging tool as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.

(more…)

Monday
Sep 3,2007

This post is about the different type of white space characters that you should expect when programming.

There are different ways of representing white space characters depending on a few factors.  However, here is a quick list of the variations:

(more…)

MD5 Encypt

Tuesday
Aug 21,2007

Use this tool to convert text into a one way hash using md5 encryption.
(more…)