: Re: How do I make two different web pages come up from one CGI?
On Wed, 3 Aug 2005, Luinrandir wrote:
The following does not work
Define does not work. It seems to work for me:
$ lynx -mime_header http://localhost/test.pl
HTTP/1.1 200 OK
Date: Thu, 04 Aug 2005 00:49:32 GMT
On Wed, Aug 03, 2005 at 10:45:35PM -0700, Luinrandir wrote:
I want to create two web pages in two different windows
from one CGI.
Each request gives one file, that's how HTTP works. You will need at
least two requests, with the script running twice (or two scripts
running once each).
You can
David Dorward wrote:
On Wed, Aug 03, 2005 at 10:45:35PM -0700, Luinrandir wrote:
I want to create two web pages in two different windows
from one CGI.
Each request gives one file, that's how HTTP works. You will need at
least two requests, with the script running twice (or two scripts
The following does not work
#!/usr/bin/perl
use strict;
print qq|Content-type: text/html\n\n|;
print qq|HTMLHEADTITLESeneschals Report/TITLE/HEADBODY|;
print qq|1|;
print qq|/body/html|;
print qq|Content-type: text/html\n\n|;
print qq|HTMLHEADTITLESeneschals Report/TITLE/HEADBODY|;
print
On Wed, 3 Aug 2005, Luinrandir wrote:
The following does not work
Define does not work. It seems to work for me:
$ lynx -mime_header http://localhost/test.pl
HTTP/1.1 200 OK
Date: Thu, 04 Aug 2005 00:49:32 GMT
Server: Apache/1.3.33 (Darwin) mod_perl/1.29
Connection: