Re: cgi and perl database interaction

2009-12-02 Thread Paweł Prędki
Greg Jetter pisze: On Tuesday 01 December 2009 2:52:38 pm Paweł Prędki wrote: Hello, I have a website that uses a php engine for news generation and, basically, most of the other pages. It uses a MySQL database to store the majority of the page contents (i.e. news). However, I've written

cgi and perl database interaction

2009-12-01 Thread Paweł Prędki
Hello, I have a website that uses a php engine for news generation and, basically, most of the other pages. It uses a MySQL database to store the majority of the page contents (i.e. news). However, I've written before that I've started using simple CGI scripts in Perl to make some activities

Re: cgi and perl database interaction

2009-12-01 Thread Rene Schickbauer
Hi! Now, the thing is that the PHP scripts also connect to the database and, presumably, uphold the connection over the duration of the session so as not to disconnect and reconnect continually when the user browses the website. My question is - is it possible to do the same thing with

Re: cgi and perl database interaction

2009-12-01 Thread Paweł Prędki
Hi! Thanks for the quick reply. I know it would be much simpler if I just installed mod_perl and some kind of a framework (I've started learning Mason and I think I would be able to do what I want using this solution ) and rewrote the whole webpage but that's too much work and it's really not

Re: cgi and perl database interaction

2009-12-01 Thread Greg Jetter
On Tuesday 01 December 2009 2:52:38 pm Paweł Prędki wrote: Hello, I have a website that uses a php engine for news generation and, basically, most of the other pages. It uses a MySQL database to store the majority of the page contents (i.e. news). However, I've written before that I've