[Cover] [Previous Section] [Next Section] [Index]
Current chapter: Using UP.SDK with Web Servers and CGI Scripts
Section 25 out of 26 total sections
, Section 5 out of 5 sections in this chapter
Quick tour of UP.SDK sample applications
The UP.SDK provides sample HDML 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
|
hdml
|
Sample static HDML decks
|
images
|
Image files used by sample applications
|
scripts
|
Dynamic Perl HDML applications
|
source
|
General application and utility source code written in C/C++. In the UNIX version of the UP.SDK, this director contains sample C++ for sending notifications.
|
vb
|
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.
|
For more information on these samples, see the README.TXT file.
The Unwired Planet Developer Web site hosts a copy of the sample CGI programs. To access the programs, choose HDML 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
On the UNIX platform, you should use the latest version of Perl 5.0, available at:
On the Windows platform, you should use Perl for Win32 and Perl for ISAPI, both of which are available at:
[Cover] [Previous Section] [Next Section] [Index]
Current chapter: Using UP.SDK with Web Servers and CGI Scripts
Section 25 out of 26 total sections
, Section 5 out of 5 sections in this chapter
Copyright © 1999, Unwired Planet, Inc. All rights
reserved.