I'm running Linux, Redhat 7.3, and Qmail. I do have procmail installed, however if I don't need to, I don't want to use procmail as it seems just a little more difficult. My question is, how can I setup a mailbox so whenever it receives an email, it runs a perl script? I've read the manuals...
I'm having a problem with the database connection using PostgreSQL.
Everytime I open a connection, am I supposed to close it in the Perl CGI script? For example:
$dbh = &dbh_connect();
$sql = "SELECT mediaid, folder, view_count FROM media ORDER BY folder;";
$sth =...
Ok... I feel really dumb now. I'm going to buy a book. I believe this is the command, however it's not working.
ALTER TABLE leads ALTER created SET timestamptz DEFAULT 'now' NOT NULL
ALTER TABLE leads ALTER export_counter SET int4 DEFAULT '0' NOT NULL
I already have a populated table and...
Ok, this is my first jump into SQL/Perl stuff and I'm a little lost. I'm running PostgreSQL and already have a populated table, however I need to have an incrementing variable every time a new row is submitted. I also need a time stamp. My question is, once I already have the table created...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.