PrimitiveType

Welcome to PrimitiveType.com!

Articles and resources about PHP, JavaScript, HTML, Linux & more.

Most recent articles:

I just tried opening up the index page of a directory I had password protected with Apache Basic Authentication some time ago, to be greeted with an "Internal Server Error" message. There was never a problem accessing the page before, so why now?

Read more...

When handling dates in PHP, one of the most useful functions available to you is strtotime(). This function parses a string representation of a date and/or time, and returns a timestamp based on it. In this article, which is a follow up to Dates in PHP: Part 1, we look at some of the handy things you can do with this function!

Read more...

This article takes a look at PHP5's Object Oriented Programming (OOP) support for abstraction. Though it's easily possible to script in PHP without paying much attention to this powerful feature, larger projects will benefit from the increased class organization and structure that can be obtained as a result of careful usage of abstract classes and methods. This article assumes you have some...

Read more...

The Samsung Galaxy Apollo is an Android-based smartphone that I bought from Carphone Warehouse in London for £90 (approximately $147 at time of writing). Of course, that's for the unit alone without a SIM card and not attached to any contract. It's my first smartphone and I thought I'd put down my first impressions of it, having owned the phone for 3 days now.

Read more...

Featured web development tools: