RE: [users@httpd] CGI help on apache needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I tried working with code looking something like this but the IE still
doesn't respond instantly

if($pid)
		{
			print ("Location:
http://ABAB:7070/miniProject/filepath.html\n\n";);
			exit 0 ;
		}
		else
		{

			
			close(STDOUT);
			close(STDIN);
			close(STDERR);
			
			open(STDOUT);
			open (STDIN);
			open(STDERR);

			exec `la_results.pl $input{'dirPath'}
$checkboxString`;
			exec `mail.pl $input{'emailIdList'}`;

			close STDOUT;
			close STDIN;
			close STDERR;
		}



-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua
Slive
Sent: Wednesday, July 05, 2006 1:19 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] CGI help on apache needed

On 7/5/06, Rajat Sharma <rsharma@xxxxxxxxxxx> wrote:
> Thanks Jashua, but I am on windows and cannot redirect to /dev/null

It doesn't matter how you do it. The point is to close all three file
descriptors on the forked process.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux