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...
You could always set a boolean variable as false at the beginning of the page, and at the end of the page set it as true. Then it would have to wait until everything else is loaded before it would let them clickthrough. I've used that a lot for the same purpose
I appreciate all your help with this. I actually did have it like that, opening the database globally and then just using it in the sub without passing it. I've tried to eliminate that. Here's the code where' I'm having some problems with. It's just incredibly incredibly slow that it's...
I went ahead and added that code in and at least it didn't give me an error. However, when I check the current processes running on the server, I still see a lot of:
0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUTH_ANON -DHAVE_AC
apache 22195 0.1 1.5 6232 3948 ? S...
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.