Re: db to HTML with checkboxes

2004-02-03 Thread Andrew Gaffney
Wiggins d'Anconia wrote: Andrew Gaffney wrote: Wiggins d'Anconia wrote: Andrew Gaffney wrote: I have a Perl CGI script that runs a query against a MySQL table. I have about 20 boolean values that I want shown as checkboxes in the produced HTML, but I don't want to have to do something like the

Re: db to HTML with checkboxes

2004-02-03 Thread Wiggins d'Anconia
Andrew Gaffney wrote: Wiggins d'Anconia wrote: Andrew Gaffney wrote: I have a Perl CGI script that runs a query against a MySQL table. I have about 20 boolean values that I want shown as checkboxes in the produced HTML, but I don't want to have to do something like the below for every value.

Re: Deleting a file(s) with variables _HELP!

2004-02-03 Thread Wiggins d'Anconia
Luinrandir Hernsen wrote: I have a group of files I need to delete. They have a format like this. c:\game\data\(variable)info.file(variable) the actual file name is c:[EMAIL PROTECTED] I need to delete all files in this directory with the partial name of "info.file" where the (variable) is a wildc

Deleting a file(s) with variables _HELP!

2004-02-03 Thread Luinrandir Hernsen
I have a group of files I need to delete. They have a format like this. c:\game\data\(variable)info.file(variable) the actual file name is c:[EMAIL PROTECTED] I need to delete all files in this directory with the partial name of "info.file" where the (variable) is a wildcard. In dos it would

Re: db to HTML with checkboxes

2004-02-03 Thread Andrew Gaffney
Wiggins d'Anconia wrote: Andrew Gaffney wrote: I have a Perl CGI script that runs a query against a MySQL table. I have about 20 boolean values that I want shown as checkboxes in the produced HTML, but I don't want to have to do something like the below for every value. The key to this is cont

Re: db to HTML with checkboxes

2004-02-03 Thread Wiggins d'Anconia
Andrew Gaffney wrote: I have a Perl CGI script that runs a query against a MySQL table. I have about 20 boolean values that I want shown as checkboxes in the produced HTML, but I don't want to have to do something like the below for every value. The key to this is contriving good names for the

db to HTML with checkboxes

2004-02-03 Thread Andrew Gaffney
I have a Perl CGI script that runs a query against a MySQL table. I have about 20 boolean values that I want shown as checkboxes in the produced HTML, but I don't want to have to do something like the below for every value. [code] if($ref->{somevalue}) { print ""; } else { print ""; } [/code

calculating election day

2004-02-03 Thread Chad A Gard
I'm attempting to dynamically place an image into the user interface of an intranet site to celebrate various holidays. It's really not important functionally, but meant to impart just a little fun/whimsy - which, of course, means I can't spend too much time with it. Right now I'm running it a

Re: Include Files in Perl?

2004-02-03 Thread Alexander Blüm
that doesn't sound too good. sounds like loading all into memory, split it up into arrays and then finally printing the contents to the browser. bleh! how aout this: #somewhere in the code: &include("/includes/header.html"); ... &include("/includes/footer.html"); ### subroutine sub include{ my

Re: Win to Unix ftp'ing

2004-02-03 Thread Charlie somerville
Yeah, tried doing that, except all it did was endlessly loop it self. (Oh and Perl_guru has changed to Charlie Somerville) "Dan Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Check to make sure that the script does not have control-M's at the end of > > every line. That

Re: Determining different computers with the same IP

2004-02-03 Thread Charlie somerville
Your best shot would be to send a temporary cookie and then in each cgi script, call it and tada, there u have it. "Octavian Rasnita" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I heard that it is possible to differentiate 2 computers of 2 different web > page visitors

Re: Include Files in Perl?

2004-02-03 Thread Charlie somerville
just use this code: ===START CODE=== $filename="my_file"; #Set the filename open(A,$filename) || die "Waaah! The open didn't work: $!"; #Open the file in $filename or do what MSWindows always does @a=; #Put the filehandle A in the array @a; print "Content-Type: text/html\nPragma: No-cache\n\n"; #T