Re: Apache and cgi-bin directory - Redhat 7.1

2001-07-17 Thread Mel Matsuoka
At 05:15 PM 07/16/2001 -0400, you wrote: I have apache set up on a Linux machine running Redhat 7.1 (local home network). The install (from rpm) placed the directories as follows: /var/www/html /var/www/cgi-bin /var/www/icons I can point a browser to 192.168.xxx.xxx and I am taken to the

Re: Excel to html via CGI

2001-07-17 Thread fliptop
Deneb Pettersson (LMF) wrote: Deneb Pettersson (LMF) wrote: Do both these things handle graphs aswell, or do i have to use something else for that. Basically this is at the moment a planning with the spreadsheet::parseexcel module, it simply reads cell contents in a worksheet.

RE: Excel to html via CGI

2001-07-17 Thread Deneb Pettersson (LMF)
Setting the Data in a certain place is planned anyway so that is no problem, now it seems my only problem is how i get the damn gif out of the excel. Atm the user saves the document once before he is done as an html document, which leads to excel converting the picture to a gif which then can

CGI vars

2001-07-17 Thread Jerry Preston
Hi, I setup a var to hold data: $name = $query-param('name'); I get a user input in a textfield. print $query-popup_menu( -name='name', -values = $T_NAME{ \L$fab }, -default = '' ); I want to remove

Re: e-mailing HTML form results

2001-07-17 Thread fliptop
Helen Dickey wrote: Is this correct? Should the following work? #!/usr/local/bin/perl -wT use Net::SMTP; $smpt = Net::SMPT-new('smtp.his.com'); $smpt-mail($ENV{USER}); $smtp-to('[EMAIL PROTECTED]); you need to use either ' or , but don't mix them. ie.- $smtp-to('[EMAIL

Re: Excel to html via CGI

2001-07-17 Thread fliptop
Deneb Pettersson (LMF) wrote: Could you maybe send an example of your code, showing how you get the data out, aswell as how you mark where to cut from the excel this code assumes you've already uploaded the .xls file to the server. for more information on all methods, try perldoc

RE: Apache and cgi-bin directory - Redhat 7.1

2001-07-17 Thread Frank J. Schmuck
Mel, BINGO! Thanks for the assist. Frank -Original Message- From: Mel Matsuoka [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 8:22 PM To: [EMAIL PROTECTED] Subject: Re: Apache and cgi-bin directory - Redhat 7.1 At 05:15 PM 07/16/2001 -0400, you wrote: I have apache set up on a

Re: mutliple threads

2001-07-17 Thread Will Cottay
man perlthrtut might give you a starting point. -will Maxim Berlin wrote: Hello Thomas, Tuesday, July 17, 2001, Thomas Jakub [EMAIL PROTECTED] wrote: TJ How do I implement threading in perl? did you try perldoc thread ? Best wishes, Maxim

How can I avoid browser time outs?

2001-07-17 Thread daedalus
Hi all, I hope this isn't a goofy question ;-) I have a simple CGI front end for processing Snort logs with Calamaris. It is currently set up like this: sub do_report {local ($command) = @_; $| = 1; print Content-type: text/html \n\n; system ($command 2 /dev/null); } #

package

2001-07-17 Thread Guillaume Denizot
Hello, When I execute: perl my_cgi_lib.m, I have this problem: Global symbol $key requires explicit package name at /usr/lib/perl5/5.6.0/my_cgi_lib.pm line 34. Global symbol $key requires explicit package name at /usr/lib/perl5/5.6.0/my_cgi_lib.pm line 38. Global symbol $key requires explicit

Needing a script to...

2001-07-17 Thread Susan
Does anyone know of a cgi or perl script that will work for taking the information from an online form, inputting the data onto a form on a word doc and then having that word doc form emailed to the email address? I know this can be done though I can not quite work myself through this one.

Re: Needing a script to...

2001-07-17 Thread Jason Purdy
I'm working with Excel (just for the reading aspect, though) fortunately, someone has written ParseExcel ( WriteExcel). Looking on CPAN, I don't see a similiar offering for Word. The ParseExcel module does rely on the OLE::Storage_Lite module - you may want to check that out and see if that

Two Array into One Hash

2001-07-17 Thread Tillema, Glenn
I know there must be an easy way to do this but the solution evades me and I'm hoping someone here either knows the answer or can point me in the right direction so I can figure it out myself ... on to the question; I have two scalars, each contain a comma-seperated list of values; $scaOne =

RE: Two Array into One Hash

2001-07-17 Thread Tillema, Glenn
Thanks Darren! I *knew* there was an easy way to do it! I rarely use slices that way so I can see why it hadn't occured to me. Oh, and yes, $scaOne and $scaTwo have the same number of fields in them. Glenn Glenn Tillema [EMAIL PROTECTED] ADC Telecommunications, Inc. PO

passing form values to another Perl script

2001-07-17 Thread Domenic . Santilli
Hello all, Has anyone out there created a form using the CGI.pm module then taken the values submitted by the form and then used those values as command line arguments to run another script? At this point I have a Perl script that parses a text file and creates a number o fHTML files

Re: passing form values to another Perl script

2001-07-17 Thread Brett W. McCoy
On Tue, 17 Jul 2001 [EMAIL PROTECTED] wrote: Has anyone out there created a form using the CGI.pm module then taken the values submitted by the form and then used those values as command line arguments to run another script? Before you do anything with those form values, make sure they

Re: passing form values to another Perl script

2001-07-17 Thread Domenic . Santilli
Yeah I had thought about that but this is an internal app for a web developer and only she will be using it. Of course I am listening to all suggestions since I am trying how to figure out to proceed from here.

Re: passing form values to another Perl script

2001-07-17 Thread Brett W. McCoy
On Tue, 17 Jul 2001 [EMAIL PROTECTED] wrote: Yeah I had thought about that but this is an internal app for a web developer and only she will be using it. Regardless, it's good to get into proper programming habits for internal stuff also, IMHO. -- Brett

Re: using mime lite

2001-07-17 Thread Will Cottay
Whoops, while cutting out my email in the example I also cut a }. Should be: print a({-href='mailto:[EMAIL PROTECTED]'}, '[EMAIL PROTECTED]'); -will Miles Sapp wrote: I copied and pasted the code that was suggested for Carp (below) and ran it and I can't get it to work. Does anyone know

RE: passing form values to another Perl script

2001-07-17 Thread Brett W. McCoy
On Wed, 18 Jul 2001, Bjorn Nilsen wrote: This is all true but not what he is asking. I know of one way, you can call a CGI script with the parameters that you would normally feed into a form in the URL. eg: http://test.com/test.pl?stuff=blanumbers=23 I don't know that's what he asked

RE: passing form values to another Perl script

2001-07-17 Thread Bjorn Nilsen
oops, I should get my eyes checked, ok well the functions system, exec or using `` will do the trick, the other option is make the 2 perl scripts one then you will have no issues with people being able to do evil things at the command line. Bjorn Nilsen Manux Solutions Ltd -Original

cookie/state challenge

2001-07-17 Thread Jason Purdy
In processing an HTML form, I need to get a userID field from a cookie from the client's browser. The cookie is created at the front-door of the site where the user can login. But the user could come directly to this HTML form, bypassing the login. So I see situations where the cookie