Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: Beta 4 - incoming.pl in login.cgi

Quote Reply
Re: Beta 4 - incoming.pl in login.cgi In reply to
Hi,

incoming.pl, when ran from the web redirects standard error to standard out and turns debugging on. This was designed as a debugging mechinism. It was never designed to be ran from the web because of the time it can take to get large amounts of data can timeout a browser. If you must run it like this you can use `` (backtics) to catch the output from it.
So change your system() to something like:

my $output = `/usr/bin/perl /path/to/incoming.pl`;
# Do something with $output or just discard it.

Where /path/to is the full path.

Cheers,

Scott

Subject Author Views Date
Thread Beta 4 - incoming.pl in login.cgi Chaz 3690 May 11, 2001, 7:36 AM
Thread Re: Beta 4 - incoming.pl in login.cgi
Stealth 3642 May 11, 2001, 8:22 AM
Thread Re: Beta 4 - incoming.pl in login.cgi
Chaz 3620 May 11, 2001, 8:48 AM
Thread Re: Beta 4 - incoming.pl in login.cgi
bline 3612 May 11, 2001, 10:26 AM
Thread Re: Beta 4 - incoming.pl in login.cgi
dearnet 3561 May 15, 2001, 2:00 AM
Thread Re: Beta 4 - incoming.pl in login.cgi
UTopiKa 3535 Jun 12, 2001, 2:58 AM
Post Re: Beta 4 - incoming.pl in login.cgi
dearnet 3517 Jun 12, 2001, 3:06 AM