Articles
Allowing large file uploads in PHP with .htaccess
Feb 09 2010When creating an interface for uploading files to a server through a website, there are limitations in place in the PHP configuration that you must be aware of, in particular post_max_size and upload_max_filesize. Whilst recently working on a content management system,...
Google Apps to move away from Internet Explorer 6
Feb 02 2010Google have announced that from March 1st 2010, they will no longer be supporting IE6 in their Google Docs Suite and Google Sites Editor Applications, meaing that users in IE6 may experience failures in key functionality. In an email sent out this week to users of Google Apps, they cited ...
Read more on Google Apps Drop Support For Internet Explorer 6 >>
Showing all errors with PHP
Jan 22 2010When developing a site with PHP, it can be a great testing tool to be able to see any errors resulting from your code. Sometimes the default server php configuration hides these errors and in my experience most of them do. But you can show the errors with a couple of extra lines of code. This...
Displaying a shortened Block of Text with PHP
Nov 16 2009From time to time, I find myself wanting to display a certain amount of text, like and intro or snippet, from a much larger one. This could be a description or intro for an article, or news item for use on a landing page or latest news widget. For dynamic websites, where content is pulled in...
Opening a new window with Unobtrusive Javascript
Nov 08 2009According to the W3C Specifications, XHTML should only deal with information displayed in a browser window. Basically, opening a new window is something that does not relate to the current window, and therefore XHTML should not perform this action. So, when opening a new page, this should be...
Read more on Opening New Windows With Unobtrusive Javascript >>
Stripping HTML tags from content with PHP
Oct 23 2009It may sometimes be useful to remove the html tags from a portion of text, for example when you want to display a snippet of text in a paragraph, or add it to an xml feed with breaking it. There are a couple of ways to do this. The most obvious, and blanket solution, is to use the...
