Archive for December, 2005

A Couple Tidbits

In: Linux

24 Dec 2005

I can never seem to remember, how to remember how to reconfigure a subdomain with plesk without looking it up, so for quick reference. <directory /home/httpd/vhosts/ajohnstone.com> php_admin_value open_basedir none </directory> /usr/local/psa/admin/sbin/websrvmng -a OR /usr/local/psa/admin/sbin/websrvmng -u –vhost-name=domain.com Also, today I learnt that you cannot attach the onmouseover event to an option element. I found this rather […]

MySQL Install multiple instances. Create a folder called Conf with Instance.1.ini, Instance.2.ini, and Instance.3.ini. The Port each are listening on should all differ, as well as having a different data directory. I named these C:\Program Files\MySQL\MySQL Server 5.0\MySQLData\Instance1 mysqld –install “Mysql-Instance-1″ –defaults-file=”C:\Program Files\MySQL\MySQL Server 5.0\Conf\Instance.1.ini” mysqld –install “Mysql-Instance-2″ –defaults-file=”C:\Program Files\MySQL\MySQL Server 5.0\Conf\Instance.2.ini” mysqld –install “Mysql-Instance-3” […]

Expanding on a tip from the previous post, I quite often will have conversations over msn messenger in the morning and forgett to mail myself the logs of how to do things. Heres one way to access your logs or attach a file system. On the server, create a Share with write permissions in my […]

I just came across this about Friends Reunited web site for £120 million on informitv, not bad considering it was a established from their back room ITV acquires Friends web site for 120 million pounds ITV, the UK commercial television company, has acquired the Friends Reunited web site from its founders for £120 million in […]

Random Quick Tips

In: General

19 Dec 2005

Everyone has their own way of doing things, whether its through one short cut or another, anyway heres some quick tips. If you have any submit them below, i’m sure I we all still have plenty to learn. Minimise Outlook to Systray… Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Preferences] “MinToTray”=dword:00000001 MAP Network drives, including Samba from […]

I was browsing through google for any new information on large scale PHP deployments, and to my surprise I got a message telling me my machine had been infected! Considering I am very careful what I run on my machine, and haven’t had a virus on my computer in over two or more years I […]

MySQL 3

In: MySQL

17 Dec 2005

Lately i’ve been developing with MySQL3, and it’s almost like hitting your head against a brick wall with its limitations and specific documentation is difficult to find. Some of the limitations: Subqueries. ’select id from t where grp in (select grp from g where u > 100)’ Add DISTINCT to Aggregates JOINs with ambiguous columns […]

Sharepoint & PHP

In: PHP

8 Dec 2005

I was interested in integrating PHP and SharePoint services, and using Microsoft Word 2003 (Or other MS Office Products) to upload documents directly to PHP, here are some of my observations. There are two processes winword.exe itself pyshically POST’s the word document on the server, another process called dssm.exe (Microsoft Office Document Update Utility), which […]

It’s been a little while since I published something, so I’ll make something live. I tend to forgett about a silly quirk in internet explorer that I continually bump into, which generally takes me time to figure out why page does not load… Usually this is when downloading documents and is a very simple fix […]


About this blog

I have been a developer for roughly 10 years and have worked with an extensive range of technologies. Whilst working for relatively small companies, I have worked with all aspects of the development life cycle, which has given me a broad and in-depth experience.