Navigation
index
next
|
PyHP - The Python Hypertext Preprocessor v1.0.0 documentation
»
Welcome to PyHP - The Python Hypertext Preprocessor’s documentation
¶
Contents:
How to use PyHP
Getting started: installing the PyHP module
Writing PyHP code
Discovering the <?pyhp ?> special tag
Using the <?include ?> special tag
Configuration Options
PyHPMode option
PyHPLog option
PyHPLogLevel option
PyHPSessionPath option
PyHPTempPath option
Client-server data exchange: handling requests
Reading request headers, setting response headers
Managing GET and POST methods
Response status code
Cookies management
Cookie object and the cookie manager
The Cookie object
Example
File Upload
The upload frontend: building a form for file upload
Second step: managing the just uploaded file(s)
Managing already saved files reading directories content
Logging and exceptions reporting
Manually sending log messages
Choosing a destination
Filtering log message types as levels
Automatic exception reporting
Sessions management
How session mechanism works
Using sessions with the
pyhp.session
object
Using Databases
Connecting to the DBMS
Executing SQL statements and queries
Closing the connection
Source documentation
Indices and tables
¶
Index
Module Index
Search Page
Table Of Contents
Welcome to PyHP - The Python Hypertext Preprocessor’s documentation
Indices and tables
Next topic
How to use PyHP
This Page
Show Source
Quick search
Navigation
index
next
|
PyHP - The Python Hypertext Preprocessor v1.0.0 documentation
»