Printing html document

2004-09-24 Thread victor
I need to print a html page using a button(but not the mozilla or explorer button). So I need I button in a web page that will print that page to a printer that is not attached to the local computer, but to the web server where the page is hosted. The problem is that when I send a

Background info

2004-09-24 Thread Sander
After recent web host problems, we decided to host our own website. My hosting server is running Win XP with Apache 2.3.1 on it. My site is working but now I am trying to work out the kinks. We use a simple formmail.cgi script to allow visitors to submit a questionaire. What do I need to

Re: Printing html document

2004-09-24 Thread David Dorward
On Fri, Sep 24, 2004 at 12:12:33PM +0300, victor wrote: So I need I button in a web page that will print that page to a printer that is not attached to the local computer, but to the web server where the page is hosted. The problem is that when I send a html page it prints all the

Re: Background info

2004-09-24 Thread Chris Devers
On Thu, 23 Sep 2004, Sander wrote: After recent web host problems, we decided to host our own website. My hosting server is running Win XP with Apache 2.3.1 on it. Are you sure about this? The current version of Apache2 is 2.0.51. My site is working but now I am trying to work out the

Re: Background info

2004-09-24 Thread Gunnar Hjalmarsson
Sander wrote: Will Apache be able to send mail No. or does sendmail need to communicate with a different mail server. You need a mail server, a mail transfer agent (MTA) to be precise, to send mail. If you don't have one installed locally, such as sendmail or Postfix, it's possible to use a

ordered hash

2004-09-24 Thread brian larochelle
Hello, I was hoping to get a little advice creating a cgi form. I want to create a popup menu to list all the states in the US( and then later countries), I want to store all the values in variables to pass to the subroutines later on. The below code works, I just have the values for the

Re: ordered hash

2004-09-24 Thread Chris Devers
On Fri, 24 Sep 2004, brian larochelle wrote: ordered hash Hashes are, almost by definition, unordered lists of key/value pairs. If you want to work with one in order, add a sort command to accesses: my @sorted_keys = sort keys %hash; foreach $key @sorted_keys { my $value =

Re: ordered hash

2004-09-24 Thread brian larochelle
Thank you for your quick response Chris. That makes perfect sense. Except for the last value of 'other' which I would want at the end of the list and a choice for the person filling out the form is they did not live in the US. Chris Devers wrote: On Fri, 24 Sep 2004, brian larochelle wrote:

Re: ordered hash

2004-09-24 Thread Chris Devers
On Fri, 24 Sep 2004, brian larochelle wrote: That makes perfect sense. Except for the last value of 'other' which I would want at the end of the list and a choice for the person filling out the form is they did not live in the US. A common way around this is to leave other out of the hash: