Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_linux_programming thread: Re: cgi 2 postgresql


Message #1 by "Sean Kelly" <sean.kelly@t...> on Thu, 26 Jul 2001 10:45:05
Look out for our next book, "Beginning Databases with PostgreSQL"
(Stones and Matthew, Wrox Press, ISBN 1861005156) which
covers using PostgreSQL from C and Perl,Python and PHP for
web pages.

Sorry about the plug, I couldn't resist.

Neil Matthew

----- Original Message -----
From: Sean Kelly <sean.kelly@t...>
To: Pro Linux Programming <pro_linux_programming@p...>
Sent: 26 July 2001 10:45
Subject: [pro_linux_programming] Re: cgi 2 postgresql


> > Hi - don't know if this is professional, but it would be cool if someone
> > could help.......
> >
> > After writing my form in HTML and creating my shell scripts, how do I
> > transfer and record this data straight in to my PostgreSQL database?????
>
> What have you written your CGI stuff in?
>
> You can use the "psql -c 'enter your command here' database_name" command
> to input stuff into PostgreSQL using shell.  With Perl you can use the
> DBD/DBI modules.  With PHP there is also PostgreSQL connectivity
> available.  Or, if you've written in C/C++ simply use the relevant library
> functions that come with PostgreSQL.
>
> --
> Sean Kelly

  Return to Index