Book Home

CGI Programming with PerlSearch this book

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Index: D

$db, using: 10.2.1. DB_File
daemon, turning Perl CGI application into: 17. Efficiency and Optimization
dash (-) or period (.), starting filenames with: 5.2.4. File Uploads with CGI.pm
5.2.4. File Uploads with CGI.pm
data collection, forms: 4. Forms and CGI
data exchange, performing with JavaScript: 7.3. Data Exchange
online music browser (example): 7.3.2. Example
WDDX: 7.3.1. WDDX
data modification result screens (various): 10.4.2.2. Address book CGI script
data storage, security issues: 8.5. Data Storage
dynamic filenames: 8.5.1. Dynamic Filenames
file permissions: 8.5.3. File Permissions
location of files: 8.5.2. Location of Files
data types: 7.3.1. WDDX
(see also arrays; hashes; scalars)
characters, padding fields for: 10.3.1. Creating a Database
data structures, printing with Data::Dumper module: 15.3.4. Dumping Variables
Perl vs. WDDX: 7.3.1. WDDX
strict variables, Perl language and: 1.3.1. Why Perl?
WDDX, summary of: 7.3.1. WDDX
databases
consolidating with CGI middleware: 14. Middleware and XML
creating: 10.3.1. Creating a Database
accessing data: 10.3.3. Accessing Data
inserting data: 10.3.2. Inserting Data
DBI
connecting to: 10.4.1.1. Connecting to DBI
manipulation of: 10.4.1.2. Database manipulation
querying: 10.4.1.3. Database querying
deleting data from: 10.3.5. Deleting Data
files, untying from hash tables: 10.2.1. DB_File
handles to: 10.4.2.2. Address book CGI script
perl, linking with: 10.4. DBI
updating: 10.3.4. Updating Data
Data::Dumper module: 10.2.2. MLDBM
15.3.4. Dumping Variables
Date field: 2.4.2.4. Date
DATE_GMT variable: 6.2.3. Environment Variables
6.2.3. Environment Variables
DATE_LOCAL variable: 6.2.3. Environment Variables
6.2.3. Environment Variables
dates and times
current, template file: 6.3.1. Syntax
customizing display with SSI config command: 6.2.4. Tailoring SSI Output
formatting with SSI: 6.2.4. Tailoring SSI Output
last date modified, displaying with SSI: 6.2. Server Side Includes
last modification of requested resource: 2.4.2.6. Last-Modified
DB_CACHE constant: 12.3. Inverted Index Search
DBD::CSV module: 10.1.5. DBD::CSV
DBI driver, using: 10.4.1. Using DBI
text files, storing data in: 16.1.6. Separating Storage from Your Primary Code
DBD::Oracle driver: 16.1.6. Separating Storage from Your Primary Code
DB_File module: 10.2. DBM Files
10.2.1. DB_File
DESTROY method: 10.2.1. DB_File
index, creating and storing with: 12.3. Inverted Index Search
using with MLDBM to lock DBM file: 10.2.2. MLDBM
DBI (Database Independent Interface): 10.4. DBI
address book, creating: 10.4.2. DBI Address Book
address table: 10.4.2.1. Address book database creation script
address table, creating: 10.4.2.1. Address book database creation script
CGI script for querying and modifying data: 10.4.2.2. Address book CGI script
database, connecting to: 10.4.1.1. Connecting to DBI
database manipulation: 10.4.1.2. Database manipulation
using: 10.4.1. Using DBI
DBI module: 16.1.6. Separating Storage from Your Primary Code
DBI::CSV module: 10.1.5. DBD::CSV
DBM files: 10. Data Persistence
10.2. DBM Files
locking, using MLDBM with DB_File: 10.2.2. MLDBM
MLDBM module, saving and retrieving as Perl with: 10.2.2. MLDBM
debugging
CGI programs: 15. Debugging CGI Applications
-debug pragma, use with CGI.pm: 15.3.3. Running Scripts from the Command Line
commands, summary of: 15.3.5.1. The Perl debugger
common errors: 15.1. Common Errors
debugging tools: 15.3. Debugging Tools
Perl coding techniques for error avoidance: 15.2. Perl Coding Techniques
echoing errors to browser, use of: 14.5. CGI Gateway to XML Middleware
errors in CGI scripts with STDERR output: 3.1.1.3. STDERR
declarations
global variables: 10.4.2.2. Address book CGI script
variables, using strict mode: 15.2.1. Use strict
decoding HTML form input: 4.3. Decoding Form Input
decoding tab-delimited data and end-of-line characters: 10.1.4. Delimiters
default installation paths (Apache web server): 1.4. Web Server Configuration
DELETE method: 2.3.1.1. PUT and DELETE
delete query screen: 10.4.2.2. Address book CGI script
deleting from databases: 10.3.5. Deleting Data
deleting parameters: 5.2.2.1. Modifying parameters
delimiters
ampersand ( & ), key-value pairs: 4.1. Sending Data to the Server
CSV text files: 10.4.1. Using DBI
qq// operator, use with: 5.4.2. Here Documents
text files, use in: 10.1.4. Delimiters
tabs: 10.1.4. Delimiters
Devel-ptkdb, PerlTk debugger: 15.3.5.2. ptkdb
development, CGI programs
architectural guidelines: 16.1. Architectural Guidelines
configuration, separating from primary code: 16.1.4. Separate Configuration from Your Primary Code
directories, organizing projects with: 16.1.2. Use Directories to Organize Your Projects
display, separating from primary code: 16.1.5. Separating Display from Your Primary Code
growth, planning for: 16.1.1. Plan for Future Growth
relative URLs, using: 16.1.3. Use Relative URLs
scripts, number per application: 16.1.7. Number of Scripts per Application
storage, separating from primary code: 16.1.6. Separating Storage from Your Primary Code
submit buttons, controlling flow with: 16.1.8. Using Submit Buttons to Control Flow
coding guidelines: 16.2. Coding Guidelines
development web server, sharing by developers: 16.1.1. Plan for Future Growth
Devel::SawAmpersand module: 17.1.10. Regular Expressions
die function: 5.5.2. CGI::Carp
calls, catching and sending to browser: 6.4.5.1. Embperl handler
trapping: 5.5.1.1. Trapping die
triggering 500 Internal Server Error: 15.2.4. Trap die
Digest::MD5 module: 8.3.1. MD5
digests, generating to validate input data: 8.3. Encryption
Digest::SHA1 module: 8.3.2. SHA-1
directories
CGI scripts, current working directory: 3.1. The CGI Environment
enabling SSI for: 6.2.1. Configuration
execute permissions (CGI), turning off: 1.4.1.2. Configuring by extension
files, listing with glob notation: 17.1.8. Avoid the Shell
fonts, specifying with FONTS_DIR constant: 13.5.4. Image Processing
GD/Graph directory: 13.4.3. GD::Graph3D
opendir function: 12.2. Searching One by One, Take Two
organizing projects with: 16.1.2. Use Directories to Organize Your Projects
site_perl directory, saving error module in: 5.5.4. Custom Module
size, calculating with dir_size subroutine: 5.2.4. File Uploads with CGI.pm
upload directory, setting MAX_DIR_SIZE: 5.2.4. File Uploads with CGI.pm
URL paths for CGI scripts, mapping to: 2.1.1. Elements of a URL
world access to: 15.1.1. Application Permissions
write permission, Unix systems: 10.1.2. Write Permissions
directory and file structure
Apache server: 1.4. Web Server Configuration
CGI scripts, configuring by file name extensions: 1.4.1.2. Configuring by extension
creating directory for CGI scripts: 1.4.1. Configuring CGI Scripts
directory tree on web server, separate for web developers: 16.1.1. Plan for Future Growth
DirectoryIndex directive, adding to httpd.conf: 6.2.1. Configuration
disabling caching with header method (-expires argument): 5.3.1.3. Caching
display, separating from primary code: 16.1.5. Separating Display from Your Primary Code
do method on database handle, creating table with: 10.4.2.1. Address book database creation script
Document Object Model (DOM): 7.1.1. History
document root (servers), separating from CGI script directory: 1.4.1.1. Configuring by directory
document type definitions (see DTDs)
documentation
code, standards for: 16.2. Coding Guidelines
Perl viewer for: B.2. perldoc
DOCUMENT_NAME variable: 6.2.3. Environment Variables
documents
CGI scripts, outputting: 3.3.1.1. Outputting documents
HTML
expiration time, setting: 5.3.1.3. Caching
starting and ending: 5.3.2. Starting and Ending Documents
media types
declaring in HTTP headers: 1.2.1. Sample CGI
listing in web server response header: 1.2. Introduction to CGI
DOCUMENT_URI variable: 6.2.3. Environment Variables
domain names
multiple, mapped to one IP address: 2.3.2.1. Host
remote machine, obtaining from environment variables: 1.2.1. Sample CGI
in URLs: 2.1.1. Elements of a URL
double quotes: 1.2.1. Sample CGI
(see also quotes; single quotes)
enclosing "here" documents in: 1.2.1. Sample CGI
escaping with backslash (\\\\) in HTML: 5.4.1. Lots of print Statements
strings, @ character in: 13.5.4. Image Processing
drawing primitives (gd): 13.3.2. Using GD
drivers, databases: 10.4. DBI
DBD::CSV DBI driver, using: 10.4.1. Using DBI
DBD::CSV, loading: 10.4.1.1. Connecting to DBI
DBD::Oracle: 16.1.6. Separating Storage from Your Primary Code
drop-down menus: 4.2.4. The <SELECT> Tag
drop shadow
adding to text banner: 13.5.4. Image Processing
moving horizontally and vertically: 13.5.4. Image Processing
DTDs (document type definitions): 14.3. Document Type Definition
defining for data validation: 14.2. An Introduction to XML
optional nature of: 14.3. Document Type Definition
web page information on: 14.5. CGI Gateway to XML Middleware
dumping variables to browser for checking: 15.3.4. Dumping Variables
dynamic content, problems with caching: 2.5.2. Caching
dynamic filenames, security risks: 8.5.1. Dynamic Filenames
dynamic images
generating: 13. Creating Graphics on the Fly
dynamic images in HTML: 13.2.2. Including Dynamic Images in HTML
dynamic information, HTML documents
access counters: 6.2.6. Executing CGI Programs
creating with SSI: 6.2. Server Side Includes
dynamic resources, CGI support of: 1.1.1. How CGI Is Used Today
dynamic text banners, embedding in static HTML documents: 13.5.4. Image Processing


Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z


Library Navigation Links

Copyright © 2001 O'Reilly & Associates, Inc. All Rights Reserved.