Previous Topic

Next Topic

Book Contents

About the gbl.php File

One of the primary outputs of the Web wizard is the gbl.php file, which contains all the parameters that you supply in response to the wizard's prompts and is stored in the <root web> of your local computer. You can easily change these parameters when required; the method is described in a later section. A copy is also stored in the new Web that you are creating.

Meanwhile, it is important to understand the following:

  1. Each time you run the SalesCart Web wizard, the existing gbl.php file on the <root web> is renamed as gbl.bak and replaced. This means that the next time you run the wizard, the then existing gbl.bak file will be over-written and irretrievably lost. If there is a chance that you might need an "old" gbl.bak file, then you should copy it to a completely different directory and rename it before running the wizard.
  2. The Web wizard prompts you to determine if you simply want to change the settings specified in the gbl.php file or whether you wish to change the gbl.php in addition to creating "new" SalesCart pages. This is denoted on the first screen of the wizard as checkboxes. The Create New Pages and Modify Settings checkbox will create a new gbl.php file in addition to creating new SalesCart webpages. The Modify SalesCart settings only will not add or modify your existing SalesCart webpages and will simply modify the gbl.php file. This allows you to change the global SalesCart settings in an existing SalesCart Web without damaging the underlying pages.

Once you have read the Introduction Screen of the Web wizard, click on the appropriate checkbox. If this is your first time running the Web wizard and you need to create a "brand new" SalesCart shopping cart Web and all the associated shopping cart pages and checkout system, click on the default checkbox Create New Pages and Modify Settings. If you are running the wizard on an existing SalesCart Web and simply want to change the gbl.php settings that define this shopping cart Web "without" changing any SalesCart webpages, select the checkbox Modify SalesCart settings only. Once you have selected the appropriate checkbox, press the Next > button to continue on to the next screen.

See Also

Converting Your Existing SalesCart Web