RE: [cgiapp] Why perl lost steam...

2010-09-23 Thread Dermot Paikkos
> -Original Message- > My interest in peeking at Boulder was really OT, but let me explain a > little more about why it intrigues me. It seems to offer some simple > ways to search for data in sets of simple data files like those created > when using the CGI->save method, almost an SQL lik

RE: Why perl lost steam...

2010-09-21 Thread Dermot Paikkos
> -Original Message- > From: Bill Stephenson [mailto:bi...@ezinvoice.com] > Sent: 20 September 2010 21:40 > To: beginners cgI > Subject: Why perl lost steam... > > This email list used to bustle. It was active and vibrant. > > No more. Now it is practically dead. > > It would seem that r

RE: Loading results (via ajax) from a CGI

2009-11-28 Thread Dermot Paikkos
This is of course a javascript/ajax question to a perl list > -Original Message- > From: bu...@alejandro.ceballos.info > [mailto:bu...@alejandro.ceballos.info] > Sent: 27 November 2009 13:59 > To: beginners-cgi@perl.org > Subject: Loading results (via ajax) from a CGI > > Any idea whe

Strategy ideas please

2009-07-31 Thread Dermot Paikkos
Hi, I want to create a web interface to allow users on my subnet to create FTP accounts on a local server. I would like it to be a secure as I can make it. What I am not sure about is how I can create ftp accounts without non-root access or suexec. I believe there might be an ftp server that u

RE: content type headers

2009-07-03 Thread Dermot Paikkos
> -Original Message- > > What are you using in showImage.html to print the image? If you're > doing it manually, then put "print 'Content-Type: image/jpeg\n" at the > top of the file (w/ a double "\n" at end of header). If using CGI.pm, > then it's as simple as "print header(-type=>'image/

content type headers

2009-07-02 Thread Dermot Paikkos
Hi, I've got some old code to deal with and I have hit a problem. If there is a request for a page that has mixed content EG: 'text/html' and 'image/jpeg', the image media is not being displayed correctly under the FireFox browser. The way things currently work is that media other than text

RE: Global scope

2009-04-24 Thread Dermot Paikkos
> Dermot, > > Thanks for responding! > > Your points are correct; unfortunately, those errors were created by my > simplification attempts. > But the problem is when I wish to refer to those variables in other .pm > modules that may be included with with use statements in the main .cgi > progra

RE: Global scope

2009-04-23 Thread Dermot Paikkos
Hi, Hello, package options; use strict; use warnings; ### This might have helped use base qw(Exporter); our @EXPORT = qw(@BenefitsOptions %BenefitsOptions); #our @EXPORT_OK = qw(); # If your not going to export anything, # you might as well leave this out. our %Ben

RE: how to add support of Msql and CGI in Apache

2009-04-22 Thread Dermot Paikkos
From: Raheel Hassan [mailto:raheel.has...@gmail.com] Sent: 21 April 2009 17:32 To: Dermot Paikkos Cc: beginners-cgi@perl.org Subject: Re: how to add support of Msql and CGI in Apache Please see below for my solution. .. . That is all your missing at the moment. You need to tell apache to

RE: how to add support of Msql and CGI in Apache

2009-04-17 Thread Dermot Paikkos
I am following these instructions, http://www.ubuntugeek.com/how-to-install-apache2-webserver-with-phpcgi-a nd-perl-support-in-ubuntu-server.html but when i type, http://localhost it prompts to open the CGI script that i set at the location in text editor. It does not execute. I have seen the

RE: how to add support of Msql and CGI in Apache

2009-04-16 Thread Dermot Paikkos
aheel Hassan [mailto:raheel.has...@gmail.com] Sent: 16 April 2009 09:17 To: Dermot Paikkos Subject: Re: how to add support of Msql and CGI in Apache Could you please tell me which directory i need to configure and what changes i need to make in which configuration file so that i can execute my CGI sc

RE: how to add support of Msql and CGI in Apache

2009-04-14 Thread Dermot Paikkos
: how to add support of Msql and CGI in Apache > > Hello, Hi > I am facing problems in executing cgi programs, on Apache web server, > can > any body tell me how i can configure my Apache server so that it can > support > CGI and Msql. I also wanted to enable ssl support in the Apache server. >

RE: how to require() a file?

2009-03-01 Thread Dermot Paikkos
> -Original Message- > From: "Stanisław T. Findeisen" [mailto:sf181...@students.mimuw.edu.pl] > Sent: 27 February 2009 17:03 > To: beginners-cgi@perl.org > Subject: how to require() a file? > > I am trying to require() a file using its absolute name. In command > line mode everything works

RE: Send email using SMTP -Should be

2009-01-09 Thread Dermot Paikkos
> Is a discussion about taintedness off topic on a Perl-CGI list? Don't > think so. 'Sending email via SMTP' is off-topic for CGI. Cross-posting is bad form on any list. Bad boy Fulivo. Adam pointed out on Wednesday that the thread was slipping OT. > > and the thread is running strongly on per

RE: Send email using SMTP

2009-01-09 Thread Dermot Paikkos
This is all very OT and the thread is running strongly on perl-beginners. :-/ -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

RE: embedding a CGI script in a HTML page?

2008-12-15 Thread Dermot Paikkos
> -Original Message- > > > > http://www.template-toolkit.org/ > > > > Mike > > Looking at the website and the documentation, still reading through it, > I'm still not sure how to mix this with my CGI scripts to make them > look > like the rest of the site even though Konqueror supports th

RE: Creating a Logon Form

2008-12-10 Thread Dermot Paikkos
> Hey All, Hi > I'm new to doing CGI with Perl and so am a little lost here. ... > > Register > > Logon > > Username: > > Password: > > > > This works for me. If I post your form to this: #!/usr/bin/perl use st

RE: using cgi.pm to create and interpret textboxes

2008-11-12 Thread Dermot Paikkos
Hi > -Original Message- > From: marys [mailto:[EMAIL PROTECTED] > Sent: 11 November 2008 11:20 > To: beginners-cgi@perl.org > Subject: using cgi.pm to create and interpret textboxes > > Hello: > Can anyone tell me how to use CGI.pm's 'textfield' function to set up > a form with a lot of

RE: cgi and ssh

2008-09-24 Thread Dermot Paikkos
> > > I have a cgi script that needs scp a file from one server to another. > > Because the script runs under the httpd user > With suEXEC you can run that script (and only that script) under an > account you create with otherwise very limited privileges. > > http://httpd.apache.org/docs/1.3/sue

cgi and ssh

2008-09-23 Thread Dermot Paikkos
Hi, I have a cgi script that needs scp a file from one server to another. Because the script runs under the httpd user, for this to work without prompting for password, I need to do a lot of configuring that I am not sure would be consider good practise. For example: the httpd user's account t

Help with issuing the correct mime headers

2006-01-18 Thread Dermot Paikkos
Hi, I have a script that outputs a file as text to the browser but there are some inconsistencies in how the browser responds to script. When the script is run under FF it displays the text and you can choose to 'Save the page' from the file menu and it is saved as text. Under IE the page is n

[SOLVED] output to browser

2006-01-12 Thread Dermot Paikkos
Dooh, It was working but was printing out contents of the original file before printing out the converted lines. Any advice on content-disposition??? Dp. On 12 Jan 2006 at 12:26, beginners-cgi@perl.org wrote: > Hi, > > I am trying to create a CGI script that will take a CSV file and > con

output to browser

2006-01-12 Thread Dermot Paikkos
Hi, I am trying to create a CGI script that will take a CSV file and convert it to a tilde-separated values file. The file should be sent to the browser so the user can choose to select-all the text or save the page as a text file. The problem is that the browser does not appear to be showing

Stress-test server

2005-11-14 Thread Dermot Paikkos
Hi, I would like to see what happens to my web server if I get 50-60 connections all posting requests to it. Can anyone suggest a module that might help (WWW.Mechanize perhaps). Thanx. Dp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Turn off enctype

2005-11-07 Thread Dermot Paikkos
Hi, I need to turn off the enctype attribute within a form but even if I specify -enctype => 'application/x-www-form-urlencoded' I end up with 2 encoding types: The docs I have read say that application is the default but that doesn't seem to be the case. "For compatibility, the start_form(

text/xml

2005-11-03 Thread Dermot Paikkos
Hi, First off apologies if this is OT but I am trying to get my head around something. In the near future I will work with a system that responds with: Content-type: text/xml (\n\n) The idea is to get statistical information from their database and use some GD::Graph (and possibly other pack

hardcoded paths

2005-10-28 Thread Dermot Paikkos
Hi, I am moving a site from once host to another. There are lots of hardcoded fully qualified paths to the localhost (EG http://myserver/cgi-bin/someprog.pl?name=val & http://myserver/css/mystyle.css). I am pretty sure this isn't good practise but I am not a bit lost as to what are good alter

Re: CGI parameters

2005-10-25 Thread Dermot Paikkos
On 24 Oct 2005 at 11:48, Ovid wrote: > > I am trying to access the parameter list from a form. I keep getting > > a "Not an ARRAY reference at (eval...)". The error seems to refer to > > > > my @names = $q->param; > > I suspect you're off by a couple of lines: > > my @names = $q->param; >

CGI parameters

2005-10-24 Thread Dermot Paikkos
Hi, I am trying to access the parameter list from a form. I keep getting a "Not an ARRAY reference at (eval...)". The error seems to refer to my @names = $q->param; If I use Dump I get: # imp * list.txt # dsc * Groovey * # set * # usr * DP # job * jobs/DP227 # go * Y