UP.SDK Getting Started Guide
[Cover] [Previous Section] [Next Section] [Index]
Current chapter: 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
|
images
|
Image files used by sample applications
|
scripts
|
Dynamic Perl WML applications
|
source
|
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.
|
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.
|
wml
|
Sample static WML decks
|
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 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
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]
Copyright © 1999,
Phone.com Inc. All rights reserved.
Please send comments and questions to
doc-comments@corp.phone.com.