#### Contents

Introduction
Samples Installation
Testing Swiff Chart Generator

## Introduction

To run the Swiff Chart Generator PHP samples on your Microsoft Personal Web Server (PWS) you need to have the PHP module or CGI installed. To make the Swiff Chart Generator PHP samples available on your PWS you need to create a Virtual Directory (also known as web-sharing a directory) pointing to the disk location of the Swiff Chart Generator samples, usually C:\Program Files\GlobFX\Swiff Chart Generator 4\samples\.

## Samples Installation

To web-share the Swiff Chart Generator samples on Microsoft Personal Web Server (PWS), please follow these simple steps:

1. Start PWS up from Start > Programs. This will display the Main window for the server.
2. Click on View > Advanced from the main menu on the Web server:
3. When you have <Home> highlighted, click Add. This will display the Add Directory dialog box.
4. In the Add Directory dialog box, use the Browse button to find your Swiff Chart Generator samples directory, usually C:\Program Files\GlobFX\Swiff Chart Generator 4\samples\, and add it. In the Alias box, enter samples:
5. Click OK.

Now, you can use the samples alias to get to the files stored in the Swiff Chart Generator samples directory.

## Testing Swiff Chart Generator

To test the Swiff Chart Generator installation, open your web browser (you must have the Flash plug-in installed) and type the following URL in:

    http://your_server_name/samples/index.html

where yourserver is the machine name of your web server (possibly 127.0.0.1 - the localhost machine)

An HTML page should appear, providing you with the list of samples. Select PHP Samples.

Note: PWS uses the alias samples to refer to the physical directory C:\Program Files\GlobFX\Swiff Chart Generator 4\samples\ When you run a PHP page, you must type its URL in the browser's address window. You can't load the file into the browser because it won't execute the PHP features unless you access it via PWS with PHP installed.