$ip=getenv(REMOTE_ADDR);
?>
DBMaker Starting Guides
PHP Samples
These samples assume that the php files found in the
subdirectories below are available to the php-aware HTTP server
that is to be tested.
DBMaker basic function
Description
DBMaker basic function test.
DBMaker Poll System
Description
A sample network poll system implemented by PHP.
Registration System
Description
Here demostrates a software registration system.
Set autocommit on/off
Description
Set autocommit on/off by odbc_autocommit().
Source
odbc_autocommit.php
Close all connections
Description
Close all connections.
Source
odbc_close_all.php
Commit/Rollback transactions
Description
Commit or rollback a transaction.
Source
odbc_commit.php
Use Cursors
Description
Updating and deleting by two cursors.
Source
odbc_cursor.php
Execute a statement
Description
Prepare and execute a statement.
Source
odbc_execute.php
Fetch result
Description
Fetch data from result sets.
Source
odbc_fetch.php
Show images from database
Description
Get a image from database and show it on a web page.
Source
odbc_longbinary.php
display1.php
The number of rows affected
Description
Get the number of rows be inserted/updated/deleted/selected.
Source
odbc_num_rows.php
Get all result at a time
Description
Get all tuples in a result set at a time.
Source
odbc_result_all.php
Connect to database
Description
Open a connect to the database by odbc_connect(). The connection will be
closed by odbc_close() or odbc_close_all().
Source
odbc_connect.php
Persistent Connections
Description
Establish a persistent connection to the database. This connection will
not be closed by odbc_close() and odbc_close_all(), and will be reused
when you open another connection. You can close it by restarting the
Apache server.
Source
odbc_pconnect.php