DBIx::Frame::CGIDBIx::Frame::CGI contains tools for web-based use of DBIx::Frame databases. | |
Download |
DBIx::Frame::CGI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tim Skirvin
- Publisher web site:
- http://search.cpan.org/~tskirvin/News-Overview-0.11.02/News/Overview/Entry.pm
DBIx::Frame::CGI Tags
DBIx::Frame::CGI Description
DBIx::Frame::CGI contains tools for web-based use of DBIx::Frame databases. DBIx::Frame::CGI contains tools for web-based use of DBIx::Frame databases.SYNOPSIS use DBIx::Frame::CGI; DBIx::Frame->init('server', 'dbtype') || exit(0); my $DB = DBIx::Frame->new('database', 'user', 'pass') or die("Couldn't connect to database: ", DBIx->errstr); my $CGI = new CGI || die "Couldn't open CGI"; my $params = {}; foreach ($cgi->param) { $$params{$_} = $cgi->param($_); } my $action = $cgi->param('action') || ""; my $table = $cgi->param('table') || ""; print $cgi->header(), $cgi->start_html(-title => "YOUR TITLE"); print $DB->make_html( $action, $table, $params, {} ) or die "Couldn't run script"; print $cgi->end_html(); exit(0);More functions, and detailed descriptions, are below.DBIx::Frame::CGI is an extension of the DBIx::Frame module to allow for web use and administration of DBIx::Frame databases. It provides a common set of HTML functions for creating, modifying, viewing, and deleting entries in the database. These tools allow for simple administration scripts, as well as a decent API for creating more complex user scripts. Requirements: · Perl
DBIx::Frame::CGI Related Software