Selecting a Static HTML page

2003-01-06 Thread Hagen Finley
I am just beginning to experiment with CGI. Currently I have a list of 10 storage arrays (EMC or XP) in a static page with a hyperlink from each to a static page which provides information about their configuration. As the list grows this approach will become increasingly cumbersome. Therefore,

Re: Selecting a Static HTML page

2003-01-06 Thread drieux
On Monday, Jan 6, 2003, at 08:41 US/Pacific, Hagen Finley wrote: [..] After hours of groping around I did find a syntax that kind of works - FORM ACTION=array1.html METHOD=GET I figure if I variablize the file name then the select tag could input the file name I need into this FORM ACTION

Selecting a Static HTML page

2003-01-06 Thread LRMK
Sign L Rakhitha Malinda Karunarathne Web :- rakhitha.cjb.net Email :[EMAIL PROTECTED] Rakhitha Malinda Karunarathne. - Original Message - From: LRMK [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 12:48 AM Subject: Re: Selecting a Static HTML page Variabalizing

how to print mysql table to text file backup with perl

2003-01-06 Thread Hughes, Andrew
I have a mysql table with about 3000 rows of data on which that I need to perform a daily backup. Because I am on a shared hosting account I do not have administrative rights to the database. To back it up currently I have a script that prints each line of data to the browser delimited with

Re: how to print mysql table to text file backup with perl

2003-01-06 Thread LRMK
where do you want to save your file on your PC or on the server Sign L Rakhitha Malinda Karunarathne Web :- rakhitha.cjb.net Email :[EMAIL PROTECTED] Rakhitha Malinda Karunarathne. - Original Message - From: Hughes, Andrew [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 07,

Re: HTML in perl autoresponders

2003-01-06 Thread LRMK
yes adding 'Content-Type: text/html' header must get the job done - Original Message - From: Damian Wader [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 1:26 AM Subject: HTML in perl autoresponders I created an autoresponder with perl. Click Here to view

Re: Autoresoponders with Perl

2003-01-06 Thread LRMK
Adding that Content-Type: text/html line after the print MAIL Subject: Your catalog request.\n\n; line must work - Original Message - From: Damian Wader [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 1:35 AM Subject: Autoresoponders with Perl somehow the

Re: Selecting a Static HTML page

2003-01-06 Thread drieux
On Monday, Jan 6, 2003, at 10:50 US/Pacific, LRMK wrote: [..] Variabalizing the action will get the job done but best will be using a cgi to do it because you can process some other input data with cgi if u r not using cgi then u can only forward to another static page [..] could you provide

RE: how to print mysql table to text file backup with perl

2003-01-06 Thread Hughes, Andrew
Thanks so much. I got some help offline that did the trick. The suggestion that worked was to do the following: my $filename = out.txt; open(OUTFILE,$filename); $stmt = qq { select * from 2002brochurecontest }; $sth = $dbh-prepare ($stmt); $sth-execute (); $count = 0; while (my $row =

Re: Selecting a Static HTML page

2003-01-06 Thread LRMK
Sign L Rakhitha Malinda Karunarathne Web :- rakhitha.cjb.net Email :[EMAIL PROTECTED] Rakhitha Malinda Karunarathne. - Original Message - From: drieux [EMAIL PROTECTED] To: LRMK [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 2:05 AM Subject: Re: Selecting a Static

Re: HTML in perl autoresponders

2003-01-06 Thread LRMK
It works U just have to use html formating tags when u send text massage to the MAIL program after adding thet content type like this print MAIL PrintTag; p align=leftbDear $in{'custname'}:/bp

Fw: Selecting a Static HTML page

2003-01-06 Thread LRMK
Use this codethis is better than previouse one it does not change actionthis one directly change Window locationHere is code--htmlheadtitleNew Page 1/title/headscript language="_javascript_"!--function doit(){urls=new

Re: HTML in perl autoresponders

2003-01-06 Thread Randal L. Schwartz
Damian == Damian Wader [EMAIL PROTECTED] writes: Damian I created an autoresponder with perl. If you autorespond to me, you better darn well not send HTML, but just plain text. HTML email is evil. Damian Click Here to view the code. That doesn't work here. This mailing list enforces plain

Custom 500 Error page

2003-01-06 Thread Webmaster
I use a shared hosting account that allows me to customize error messages using a .htaccess file. What I would like to have happen is for my custom script (500.cgi) to be able to send an email to me (at least during beta) about the problem. I'm finding that when the user submits data on page A

RE: how to print mysql table to text file backup with perl

2003-01-06 Thread fliptop
On Mon, 6 Jan 2003 at 15:11, Hughes, Andrew opined: HA:my $filename = out.txt; HA:open(OUTFILE,$filename); HA: $stmt = qq { select * from 2002brochurecontest }; HA: $sth = $dbh-prepare ($stmt); HA: $sth-execute (); HA: $count = 0; HA: while (my $row = $sth-fetchrow_hashref()) HA:{ HA:

RE: how to print mysql table to text file backup with perl

2003-01-06 Thread Hughes, Andrew
That makes a lot of sense. If I strip out the pipes, tabs, hard returns etc. going into the database table, do you think that I should be okay not using the module? My gut response to my own question is not to assume anything. Thanks, Andrew -Original Message- From: fliptop To: Hughes,