Archive for the Web Development Category
Published April 24th, 2008
This is one of those silly little PHP quirks that catches me out from time to time, but apparently not often enough to avoid doing it again on occasion. Let’s say you have a function (we’ll call it getSomeData())that returns an array, or false if there is a problem (yes you should probably be using [...]
Published April 18th, 2008
I’ve spent the last few days re-writing our login process to handle a switch to using a third-party server for user tracking. Specifically, where before the login and tracking was handled by the same domain, now the login is processed at one domain but the tracking cookie is served on a subdomain (for technical reasons [...]
Published April 11th, 2008
Just got a tip-off about this rather neat idea: CushyCMS is a third-party, hosted CMS for your own (or your clients’) sites. It works by embedding class definitions in editable elements, and then using FTP (you have to supply FTP details for your own host) to make changes. The CMS software itself is very simple [...]
Published March 5th, 2008
…because it mistakes them for mod_include directives (if it’s enabled) and attempts to parse them as such. When this fails, it replaces them with the text ‘[an error occurred while processing this directive]‘. So don’t do this, for example: <!– #1 –> First <!– #2 –> Second <!– #3 –> Third Oops.
Published March 4th, 2008
In the office where I work, we have a number of in-house development and utility servers, some of which use truncated domains: for example, our Trac installation is reachable by using just the domain http://trac/, so in fact you can just type ‘trac’ into the address bar. Quick to type and easy to remember. However, [...]
« Previous Entries Next Entries »