Chapter 2: New URLs and Files
contains all the programs used by NetStores. Here's a list of the
links you can use directly in an HTML page. Other files in the
./dwos-b in directory are used internally by NetStores
to process forms that customers submit.
In addition to the new Perl programs listed here, the UNIX shell scripts used by NetStores v1.0 are still available (on UNIX platforms only).
Link to the search page for a store. Use the store-abbrev as the parameter. For example, http://www.netstores.com/dwos-bin/gen-srch.pl?mal.
Link to produce a specific set of search results. For example, you can create links to search results for each product category. You can set values for any fields in the search form, including check boxes, the "sortby" field and the "limit" field.
The first parameter must be "-m". The second parameter must be the store abbreviation. The third parameter must be "-f". The fourth parameter is a list of the field names and field values you want to set. Separate each field-value pair with the pipe character ("|"). Separate each field from its value with "%3D" (the Hex code for "="). Make sure you use uppercase and lowercase letters that match the values you want exactly. If your field names or values contain any special characters, use the Hex codes listed here instead of the actual character:
space -- %20
& -- %26
: -- %3A
/ -- %2F
# -- %23
+ -- %2B
; -- %3B
\ -- %5C
% -- %25
= -- %3D
? -- %3F
Generates a page that allows customers to search for orders. Use the store abbreviation as the first parameter. For example, http://www.netstores.com/dwos- bin/gen-srco.pl?mal+-o.
Generates a page that allows customers to search for quotes they have saved. Use the store abbreviation as the first parameter. For example, http://www.netstores.com/dwos-bin/gen-srco.pl?mal+-q.
Shows customers the current items in their shopping basket. The current order total is shown and the customer can click buttons to begin a new search, clear the order quantities, modify the order, or complete the order. For example, http://www.netstores.com/dwos-bin/gen-m2o.pl?-mmal+-t.
Generates a page that allows customers to open new accounts. Use the store- abbrev as the parameter in the URL. For example, http://www.netstores.com/dwos-bin/gen-acct.pl?vcp.
Link to the specified help page. The first parameter should be
the store- abbrev. The second parameter should be
"#" where the filename of the HTML page you want to display
For example, http://www.netstores.com/dwos-bin/gen-help.pl?ent+1
Generates a "mallfront" page with links to all the stores in the mall. No parameters are needed. For example, http://www.netstores.com/dwos-bin/dwos.pl.
Shows a report of the search qualifiers customers are using. You can restrict the report to a date range you choose. You can only see these reports if you are accessing NetStores from the IP address specified by the NCADMIN parameter. For example, http://www.netstores.com/dwos-bin/gen-rpt.pl?mal.
Shows a list of variables defined for the server. This is helpful for troubleshooting your application. Accepts up to four parameters in the URL that will be displayed after the list of environment variables. For example, http://www.netstores.com/dwos-bin/dsply-env.pl?test1+two++four.
Lets you examine files in your
tree remotely if the ADMIP parameter matches your IP address. The
parameter in the URL should be the filename you want to see
relative to the
./dwos directory. For example,
(The example files are accessible through
even if your IP address does not match ADMIP.)
Generates a form that allows the mall administrator to search for information about a customer. You can only run this program if your IP address matches the definition of the ADMIP parameter. For example, http://www.netstores.com/dwos-bin/gen-cmnt.pl?mal.
Generates a form that performs the initial setup for a store. You can only see this form if you are accessing NetStores from the IP address specified by the NCADMIN parameter. You will need to edit the files NetStores creates when you submit this form. For example, http://www.netstores.com/dwos-bin/gen-mrch.pl.
Copyright © 1996 NetStores