Re: redirect how to?

2001-07-07 Thread Walt Sanders
Well, I finally got the meta redirect to work also with the following syntax and positioning: print "Content-type: text/html\n\n"; print ""; Actually, anywhere after the Content line. Thanks to all who helped. I'm new to this and it looks like a great group. Perl/cgi is an incredibly rich lan

Re: redirect how to?

2001-07-07 Thread Walt Sanders
", the program downloads (using IE, at least). Thanks, again, Walt. At 07:19 PM 7/7/2001 -0400, you wrote: >From: "Jason Purdy" <[EMAIL PROTECTED]> >To: "Walt Sanders" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> >S

Re: redirect how to?

2001-07-07 Thread Walt Sanders
Simon, thanks for the tip, but I've tried this more than once. I've used the meta tag many times in my html programming, but for some reason, when I put it into a .cgi program the browser just bounces back and forth to and from the .cgi and the .html. It only shows the .cgi output, but it bli

Re: redirect how to?

2001-07-07 Thread Walt Sanders
No, the # was just to be sure nothing strange happens in email. Here are the two little test programs I've been using to try different things.: #!/usr/local/bin/perl5 use strict; use CGI qw( :standard ); print "Content-type: text/html

redirect how to?

2001-07-07 Thread Walt Sanders
As a beginner, I'm going nuts trying to do something in a .cgi program that should be trivial: I need to do an if(condition) load a .html, or load unless(condition). or, in another case, when a certain .cgi is called, have it immediately load a new .html. I use an isp service running Apache,