Web Development
WebDev Archives
- April 2012 (2)
- March 2012 (2)
- December 2011 (8)
- November 2011 (1)
- September 2011 (16)
- August 2011 (22)
WebDev Categories
- ASP (1)
- CSS (2)
- General (33)
- HTML (3)
- JavaScript (4)
- mySQL (1)
- PHP (10)
- Snippet Library (7)
Iain's Tweets
- Manifesto for Agile Software Development http://t.co/qi4j58Hw 2012-04-07
- IE does not trap events on transparent elements! http://t.co/FMuZi26D 2012-04-07
- Pragmatic Programmer - WebDev http://t.co/7YlU250z 2012-03-31
- More updates...
Posting tweet...
Powered by Twitter Tools
WebDev Post Views
- ABBR vs ACRONYM HTML tags - 1,485 views
- Prevent Skype from formatting phone numbers - 538 views
- PHP Timeline - 440 views
- Fieldset border with hidden Legend bug in IE8 - 404 views
- The Father of JavaScript - 317 views
- Nested lists a common mistake - 306 views
- Herding Cats - 280 views
- WebDev from PC Soft - 276 views
- XBox Avatar - 241 views
- Drupal 7: Redirect after login - 224 views
WebDev Poll
Loading ...-
Recent WebDev Posts
Iain's Links
WebDev Blog Meta
Tag Archives: PHP
Dec
14
When you output a Jump Menu from a View in Drupal 6, it displays & instead of the ampersand. Therefore ‘Terms & Conditions’ appears as ‘Terms & Conditions’ in the menu. The following bit of PHP code fixes this problem: … Continue reading
Dec
14
The PHP code snippet below shows how to add a GROUP BY clause to a Drupal 6 View. function hook_views_pre_execute(&$view) { switch($view->name) { case ‘Services2′: $search = array(‘ORDER BY’); $replace = array(‘GROUP BY node_data_field_parent_service.field_parent_service_nid ORDER BY’); $view->build_info['query'] = str_replace($search, $replace, … Continue reading
Dec
14
I was recently asked to create a mechanism in Drupal 7, so that a client could add member only content to their Drupal 7 web site. The content was to be added periodically by the company in the form of … Continue reading
Dec
9
I recently had to add a member only section to a Drupal 7 web site. A problem I came across is that out of the box Drupal displays the User page after successful login and the member pages where not … Continue reading
Dec
2
See: http://memcached.org/ Memcache is a method for distributing memory for large scale database sites that can help improve server efficiency for PHP applications. For large scale PHP and mySQL driven sites, memcache enables distributed computing that layer requests in terms … Continue reading
Posted in General, mySQL, PHP
Tagged Database, LAMP, Memcache, mySQL, Performance, PHP
Leave a comment
Sep
15
phpDocumentor is an auto documentation tool for PHP. It is similar to Javadoc, and written in PHP, phpDocumentor can be used from the command line or a web interface to create professional documentation from PHP source code. See the PhpDocumentor … Continue reading
Sep
8
Version Number Release Date 1.0 08/06/1995 2.0 01/11/1997 3.0 06/06/1998 4.0 22/05/2000 4.1 10/12/2001 4.2 22/04/2002 4.3 27/12/2002 4.4 11/07/2005 5.0 13/07/2004 5.1 24/11/2005 5.2 02/11/2006 5.3 30/06/2009 5.4 01/03/2012
Sep
8
Rasmus Lerdorf Rasmus Lerdorf was born in Greenland in 1968, grew up in Denmark and Canada and has a Systems Design engineering degree from the University of Waterloo. In 1994 Rasmus Lerdorf created PHP. Initially, it consisted of a set … Continue reading
Aug
6
Gravatar is short for “Globally Recongnised Avatar”. It is an image that follows you from site to site and will appear next to your name when you publish content or comments on many blogs, forums and other websites all over … Continue reading
Aug
4
This PHP function takes a file size in bytes and return a human readable value in bytes, KB, MB or Gb. /** * function humanFileSize(integer $size) * * Receive the file size in bytes and return the human readable value … Continue reading

