Most recent posts
daipratt.co.uk » Tech
Concerned about Website Construction & SEO
Best way to store IP addresses in MySQL 10 Aug 2010, 8:53 am
It's tempting to store IP addresses in a database as a varchar of length 15 in the absence of a dedicated IPv4 field type in mysql, but that isn't the most efficient way of doing so...Source: daipratt.co.uk » Tech | David Pratt
Non-standard page size’s in TCPDF 23 Jun 2010, 6:11 pm
If you need to create a PDF using TCPDF that isn't a standard size (A4, A5, B1, LETTER etc.) then this snippet might help you out: $resolution= array(100, 100); $pdf->AddPage('P', $resolution);Source: daipratt.co.uk » Tech | David Pratt
Using Crontab with Plesk to call PHP files 6 May 2010, 6:39 pm
How to set up a scheduled job on Plesk that calls a PHP file at an interval of your choosing.Source: daipratt.co.uk » Tech | David Pratt
Calculate text width and height with JavaScript 22 Apr 2010, 8:43 am
A tutorial that shows you how to measure the height and width of a text element using JavaScript.Source: daipratt.co.uk » Tech | David Pratt
A few things to consider when developing on a public domain 14 Mar 2010, 5:07 pm
To prevent a site being indexed by Google before it is ready for public consumption, there are a couple things that you can do.Source: daipratt.co.uk » Tech | David Pratt
Always cache the length property in for loops when using JavaScript 26 Jan 2010, 10:13 am
Well, you don't have to, but it helps a smidgen when it comes to performance...Source: daipratt.co.uk » Tech | David Pratt
Drupal – Getting the image path of a CCK field 26 Jan 2010, 8:37 am
An explanation about how to use the internal Drupal function field_file_load() to get the path of an image that is stored in a CCK field.Source: daipratt.co.uk » Tech | David Pratt
Importing large files into mysql with phpmyadmin 18 Jan 2010, 12:55 pm
A tutorial that explains the steps you need to take in order to import large (2Mb+) SQL files into phpmyadminSource: daipratt.co.uk » Tech | David Pratt
Using the logical OR operator in setting variables 11 Jan 2010, 9:58 am
A technique that sets a variable by testing the result of the logical OR operator based on the existence of the two conditions.Source: daipratt.co.uk » Tech | David Pratt
Software to put on a clean install of Windows 7 4 Jan 2010, 2:55 pm
A list of software that you might find useful if you're a developer.Source: daipratt.co.uk » Tech | David Pratt
See all posts within this section
Pages within this section
Skunk Works
- Clubbing Map - A Google map app that will show the location of nightclubs (or anything else that it is set up for) and bring in related information from Twitter, YouTube, Flickr, Facebook etc.
Subscribe via RSS
Twitter