Web Tools

Creating a MySQL Database Using AMPPS

This tutorial assumes that you have AMPSS 1.2 installed. The procedure should be the same for other versions of AMPPS. An AMPPS installation procedure for Windows XP can be found here. Normally, you would not need to create a database in AMPPS because the setup script will automatically do that for you. However, if you […]

Web Tools

Troubleshooting the Apache Server Not Starting

This tutorial assumes XAMPP or AMPPS installed on a Windows XP machine with Service Pack 3. The instructions should work for other versions of Windows, but no guarantee is made. For non-Windows systems, the general causes and procedures should be the same, but adapted for whatever OS you are running. It is frustrating to install […]

Web Tools

How to Install and Run Multiple Versions of XAMPP on your Computer

These instructions are for Windows XP with Service Pack 3, but should be the similar for other OSes Why would I want to install multiple versions of XAMPP? When developing or testing software, it is nice to be able to test it on a variety of versions of Apache, PHP, Perl, and MySQL to test […]

Web Tools

Installing AMPPS – Apache Server, MySql, PHP, Perl with Installation Scripts

These instructions are for installing AMPPS 1.2 on Windows XP with Service Pack 3. It should work for other configurations as well. Some images may be clicked for full sized versions. AMPPS is an extremely easy to install and use Apache Server which comes bundled with MySQL (a database), PHP (server side scripting language), Perl […]

Blog

How to Get XnView to Open an Unknown File Format

Ok, XnView cannot open unknown file formats, but it can open many more formats than it enables during a normal install. See the full list of file formats it is able to open here. XnView is an excellent image viewing program that handles many graphics formats and allows numerous batch operations like: resizing, compressing, image […]

Web Tools

How to Change 'localhost' to a Domain Name

This tutorial is for XAMPP 1.7.3 running under Windows XP with Service Pack 3. It may be similar for other version combinations, but no guarantee is made. Assumes you have installed XAMPP. Instructions can be found here. UPDATE 17-March-2012:If you are running Windows 7 (and possibly Vista) the default security settings prevent you from running […]

Joomla

Adding Adsense to Your Joomla! 1.7 Site

This tutorial shows you how to display Google Adsense ads on your Joomla! 1.7.x website without installing an extension. Requires you have a Google Adsense account. Should work for other ad providers that provide you with a code snippet for ads on your site. Joomla! 1.7.0 has backend compatibility problems with IE 8 (and possibly […]

Joomla

How To View Module Positions in Joomla! 1.7

Joomla! 1.7 is now obsolete. Joomla! 2.5 is the newest release with long term support. Instructions for installing Joomla! 2.5 can be found here. Instructions for viewing module positions in Joomla 2.5 can be found here. In Joomla! 1.5.x you would append ?tp=1 to the end of the URL to view your module positions. For […]

Joomla

Installing Joomla! 1.7 Under XAMPP

Joomla! 1.7 is now obsolete. Joomla! 2.5 is the newest release with long term support. Instructions for installing Joomla! 2.5 can be found here. This tutorial describes how to install Joomla! version 1.7.0 and 1.7.1, 1.7.2, 1.7.3, 1.7.4 under XAMPP version 1.7.3 on Windows XP. The procedure should be the same for other version combinations, […]

C

How to Add Comments to Macros

Comments are an important part of documenting your code. Adding comments to macros is quite easy, but it has to be done the right way. This works with both C and C++ compilers. The easiest way to document macros is to just add comments before or after the macro definition: // returns the larger of […]

C

Preprocessor – the #error Directive

Preprocessor – the #error Directive This is a very useful and often underused preprocessor directive. Behaviour of this preprocessor directive is the same for both C and C++ compilers. Purpose The #error directive terminates compilation and outputs the text following the directive. Format #error text All preprocessor directives begin with the # symbol. It must […]

C

Preprocessor – the #line Directive

I don’t think I have ever seen this directive used. Behaviour of this preprocessor directive is the same for both C and C++ compilers. Purpose The #line directive allows setting the current line number and name of the file being compiled. Format #line integer or #line integer "file_name" or #line preprocessing_expression All preprocessor directives begin […]