I know, I just cut the code right back for clarity before posting it (maybe
silly thing to do?)

Thanks

carl

> if (condition) {
>  print "Location:page.html\n\n";
>  } else {
>  print "Content-type: text/html\n\n";
>  print "...html...";
>  }
> }

BTW, for a Location header, you should an absolute URL and not a relative
URL, even if it's on the same server as the request URI.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
"Irrationality is the square root of all evil"
  -- Douglas Hofstadter


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to