Re: DirectoryIndex

2004-09-13 Thread Chris Devers
On Sun, 12 Sep 2004, Octavian Rasnita wrote: > I have named index.html a file that in fact is a perl cgi program and I have > put it in the directory /cgi-bin/ > > It works fine if I access it using an URL like: > > http://localhost/cgi-bin/index.html > > The problem is that I want to access th

XHTML + CSS site

2004-09-13 Thread Ing. Branislav Gerzo
Hi pals, I found one simple, for me very interesting page, tak a minute look to www.kodytek.net (see source XHTML) It is simple (?) xhtml + css site, I like source and design of it very much. Please tell me which perl modules should I use for creating such a site. I think about using CGI + HTML:

Re: table with variables

2004-09-13 Thread Ing. Branislav Gerzo
Bob Showalter [BS], on Friday, September 10, 2004 at 10:33 (-0400) wrote these comments: >> I want print all items into table, table should have 3 columns. >> I don't know how to do it. BS> What you have prints one row with two columns. It looks like perhaps you BS> want two rows with three column

Re: table with variables

2004-09-13 Thread Alexander Kleshchevnikov
Here's my offer (you can change $num_items_in_td and $num_cols): use CGI qw(:standard); open (FH, "items.txt") or die "Can't open file. Cause: $!"; my @items = sort ; chomp(@items); print header(); $num_cols = 4; $num_items_in_td = 5; for ($i = 0; defined($items[$i]); $i += $num_items_in_td) {

Re: table with variables

2004-09-13 Thread Alexander Kleshchevnikov
Sorry, I find out bug in previous code. Use this: use CGI qw(:standard); open (FH, "items.txt") or die "Can't open file. Cause: $!"; my @items = sort ; chomp(@items); print header(); $num_cols = 2; $num_items_in_td = 2; for ($i = 0; defined($items[$i]); $i += $num_items_in_td) { push @tds, t

cgi script that will auto-submit to another cgi

2004-09-13 Thread Johann Tagle
Hi all, I have a script that receives certain data from an html form, processes them, then submits the processed data to another script. Problem is, I want it to do so without having to click anything anymore. It would have been easy if all the data it needs to submitted can be submitted as r

RE: cgi script that will auto-submit to another cgi

2004-09-13 Thread Thomas Bätzler
Hi, Johann Tagle <[EMAIL PROTECTED]> > I have a script that receives certain data from an html form, > processes them, then submits the processed data to another > script. Problem is, I want it to do so without having to > click anything anymore. [...] > Any ideas? Have a look at LWP and in

Re: cgi script that will auto-submit to another cgi

2004-09-13 Thread Johann Tagle
Hi Thomas, Thomas Bätzler wrote: Have a look at LWP and in particular LWP::UserAgent - you could use the post() method to submit your parameters to the other CGI program. As an added bonus, you can examine the result of the operation and report success or failure to your users. Thanks but I have

Re: cgi script that will auto-submit to another cgi

2004-09-13 Thread Gunnar Hjalmarsson
Johann Tagle wrote: Thomas Bätzler wrote: Have a look at LWP and in particular LWP::UserAgent - you could use the post() method to submit your parameters to the other CGI program. As an added bonus, you can examine the result of the operation and report success or failure to your users. Thanks but

Re: cgi script that will auto-submit to another cgi

2004-09-13 Thread Bee
> I have a script that receives certain data from an html form, processes > them, then submits the processed data to another script. Problem is, I > want it to do so without having to click anything anymore. It would Where is the 'another script' ? within your site, or to other site ? If the ot

Re: cgi script that will auto-submit to another cgi

2004-09-13 Thread Johann Tagle
Hi there! Gunnar Hjalmarsson wrote: Johann Tagle wrote: Then not just check for success or failure, but retrieve the output from the other program. I wish I could. But as mentioned, the 3rd-party program does not give any output, but instead redirects to and passes data to my other script. No w

Re: cgi script that will auto-submit to another cgi

2004-09-13 Thread Johann Tagle
Hi there, Bee wrote: I have a script that receives certain data from an html form, processes them, then submits the processed data to another script. Problem is, I want it to do so without having to click anything anymore. It would Where is the 'another script' ? within your site, or to othe

Re: cgi script that will auto-submit to another cgi

2004-09-13 Thread Bee
> > This is what is supposed to happen: > 1. User sends data to my script using an html form > 2. My script (the one I want to modify) processes data, then calls a > 3rd-party script > 3. 3rd-party script processes data, then calls another local script of > mine. > Actually, you have some othe

Re: XHTML + CSS site

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Ing. Branislav Gerzo wrote: > Please tell me which perl modules should I use for creating [a XHTML + > CSS] site. I think about using CGI + HTML::Template, but I am not sure > if it is a best solution, what do you think ? Sure, that would work. If you decided you didn't lik

Several images from same cgi script

2004-09-13 Thread Sean Davis
I have a cgi-script that needs to generate a batch of images and insert them into the HTML. I am currently doing this using a "helper" script that does the generation for each image and the call to this script and parameters are in an img tag. However, if I submit this page to the server, seve

perl.beginners.cgi Weekly list FAQ posting

2004-09-13 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email addres

RE: perl moudules for Primer Design

2004-09-13 Thread Sun, Jian
Dear all; Could anybody give me some directions or suggestions that are there any perl Modules for primer design developed and povided? Thanks in advance Jian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: perl moudules for Primer Design

2004-09-13 Thread Wiggins d Anconia
> Dear all; >Could anybody give me some directions or suggestions that are there any perl Modules for primer design developed and povided? > > Thanks in advance > Jian > Not sure what this has to do with CGI, and I don't really know if you are speaking of the bio related "primer design" but

Re: Several images from same cgi script

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Sean Davis wrote: > I have a cgi-script that needs to generate a batch of images and > insert them into the HTML. Do the images tend to be unique for each user, or will the script end up generating the same image for multiple visitors? If everyone is getting unique ima

RE: Several images from same cgi script

2004-09-13 Thread Davis, Sean (NIH/NHGRI)
Chris, Thanks for the reply. To answer your questions, they will be presenting the same information to all users, but to pre-build will result in about 200,000 files (all on the order of 10-20KB, png [they include text]). Storage isn't really an issue, I don't think, but just felt more elegant t

RE: Several images from same cgi script

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Davis, Sean (NIH/NHGRI) wrote: > Thanks for the reply. To answer your questions, they will be > presenting the same information to all users, but to pre-build will > result in about 200,000 files (all on the order of 10-20KB, png [they > include text]). Storage isn't real

RE: Several images from same cgi script

2004-09-13 Thread Davis, Sean (NIH/NHGRI)
I only need a subset (on the order of 10's or 100's of images) for each script invocation, but what I have doesn't work, so I will probably just precompute and pull them up as needed. Sean -Original Message- From: Chris Devers To: Davis, Sean (NIH/NHGRI) Cc: '[EMAIL PROTECTED] ' Sent: 9/1

RE: Several images from same cgi script

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Davis, Sean (NIH/NHGRI) wrote: > I only need a subset (on the order of 10's or 100's of images) for each > script invocation, but what I have doesn't work, so I will probably just > precompute and pull them up as needed. I realize that this is awfully hand-wavey, but I've see

Re: cgi script that will auto-submit to another cgi

2004-09-13 Thread Johann Tagle
Thanks to all who gave suggestions! Will try them out now. Bee wrote: This is what is supposed to happen: 1. User sends data to my script using an html form 2. My script (the one I want to modify) processes data, then calls a 3rd-party script 3. 3rd-party script processes data, then calls anoth