UP.SDK Getting Started Guide
[Cover] [Previous Section] [Next Section] [Index]
Current chapter: Chapter 4 - Using Web Servers and CGI Scripts
Section 25 out of 26 total sections
, Section 5 out of 5 sections in this chapter
Quick Tour of Sample Applications
The UP.SDK provides sample WML decks and services in the sdk_installdir/examples directory. The examples directory contains the following subdirectories:
|
Directory
|
Description
|
apputils
|
Common subroutines used by Perl CGI scripts, and utilities for constructing an UP.Link digest and fax response.
|
Asp
|
Digest and Fax COM library sample applications
|
images
|
Image files used by sample applications
|
scripts
|
Dynamic Perl WML applications
|
source
(UNIX only)
source/digest
|
General application and utility source code written in C/C++. In the UNIX version of the UP.SDK, this directory contains sample C++ for sending notifications.
C/C++ source code for generating UP.Link digest and fax responses.
|
vbasic
|
Visual Basic 5.0 sample applications. This includes a sample application that sends notifications. This directory is included only in the Windows version of the UP.SDK.
|
vc++
|
Visual C++ 5.0 sample applications. This includes a sample application that sends notifications. This directory is included only in the Windows version of the UP.SDK.
|
wml
|
Sample static WML decks
|
wmls
|
Sample static WMLScript examples
|
For more information on these samples, see the README.TXT file.
The Openwave Developer Web site hosts a copy of the sample CGI programs. To access the programs, choose WML Samples from the Developer Home card.
Using UP.SDK Perl CGI Samples
The sample CGI scripts are implemented in Perl 5.0. When running under UNIX, the scripts assume the Perl interpreter is in /usr/local/bin/perl5.001. To run the sample applications on your own server, you need to change the first line of each script to use the path to your Perl interpreter. For example, if your Perl interpreter is in /usr/bin/perl5.001, you should change the first line of the script from:
#!/usr/local/bin/perl5.001
to
#!/usr/bin/perl5.001
On the UNIX platform, you should use the latest version of Perl 5.0, available at:
http://www.perl.com
On the Windows platform, you should use Perl for Win32 and Perl for ISAPI, both of which are available at:
http://www.activestate.com
[Cover] [Previous Section] [Next Section] [Index]
Part Number DKGS-41-002, UP.SDK Release 4.1, December 2000
Copyright © 1994-2000
Openwave Systems Inc. All rights reserved.
Please send comments and questions to
sdk-doc-comments@openwave.com.