Re: Testing my CGI

2014-11-04 Thread John SJ Anderson
7:30 AM, Patton, Billy N wrote: > I’m using WWW::Mechanize for testing my CGI. > I’m having trouble with the $mech->tick > > Here’s my code : > ok($mech->form_name('cdr_format'),"getting form cdr_format"); > print "pAllFields = " . $mech->valu

Testing my CGI

2014-11-04 Thread Patton, Billy N
I’m using WWW::Mechanize for testing my CGI. I’m having trouble with the $mech->tick Here’s my code : ok($mech->form_name('cdr_format'),"getting form cdr_format"); print "pAllFields = " . $mech->value('pAllFields') . "\n"; 219-> o

Re: cgi and inheritance

2014-10-07 Thread jbdetroit
I haven't seen any PErl code with ->log-> like that before. I've only seen code like that with = error(*). -Original Message- >From: "Patton, Billy" >Sent: Oct 6, 2014 9:33 AM >To: "beginners-cgi@perl.org" >Subject: cgi and inheritance

Re: cgi and inheritance

2014-10-06 Thread John SJ Anderson
On Mon, Oct 6, 2014 at 6:33 AM, Patton, Billy wrote: > I’ve recently inherited some code that hasn’t been touched in over 5 years. > It’s all cgi and OOPerl. > I’ve ran across this one statement that I don’t understand. > > $self->log->error(*) That's calling the '

cgi and inheritance

2014-10-06 Thread Patton, Billy
I’ve recently inherited some code that hasn’t been touched in over 5 years. It’s all cgi and OOPerl. I’ve ran across this one statement that I don’t understand. $self->log->error(*) I know the self and I’ve traced the error to CGI::Application through inheritance. But it’s the ->log-&

Re: cgi development environment

2012-09-19 Thread Shaun Fryer
Also check out http://search.cpan.org/~lds/CGI.pm-3.08/CGI/Carp.pm -- Shaun Fryer -- perl -e 'print chr for map{$_+=22}($ARGV[0])=~/(\d\d)/g' \ 5295939410758889948279921058799286108275

Re: cgi development environment

2012-09-19 Thread Chris Stinemetz
ixed it. -Chris -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: cgi development environment

2012-09-19 Thread Mike Williams
On Wed, Sep 19, 2012 at 10:48 PM, Chris Stinemetz wrote: > am having issues with my first script and have hopes someone may be > able to explain to me whey it isn't working correctly. > > The error is coming form line 11 and the error is: > > Premature end of sc

Re: cgi development environment

2012-09-19 Thread Chris Stinemetz
I have my Perl cgi development environment all set-up. I actually wound up setting up an instance through Amazon AWS. Very cool service by Amazon. I am having issues with my first script and have hopes someone may be able to explain to me whey it isn't working correctly. The error is coming

Re: cgi development environment

2012-09-19 Thread David Dorward
On 18 Sep 2012, at 13:34, Chris Stinemetz wrote: > I am very interested in cgi scripting. I have only used php for web > development in the past. CGI or Perl? For a long time CGI with Perl was a popular combination so there are a lot of documents which conflate the two. It is possible

Re: cgi development environment

2012-09-19 Thread Mike Flannigan
ither ActiveState, or Strawberry Perl. I use ActiveState. I think CGI comes automatically, but if not install that too with 'ppm'. Get back to me if you need help with that. Mike On 9/18/2012 8:34 AM, beginners-cgi-digest-h...@perl.org wrote: Subject: cgi development environment From:

Re: cgi development environment

2012-09-18 Thread Shaun Fryer
99482799210587992861082757785799222 -- On Tue, Sep 18, 2012 at 7:53 PM, Chris Stinemetz wrote: > On Tue, Sep 18, 2012 at 5:46 AM, Mark Haney wrote: >> On 09/18/2012 08:34 AM, Chris Stinemetz wrote: >>> >>> Hello list, >>> >>> I am very interested in cg

Re: cgi development environment

2012-09-18 Thread Chris Stinemetz
On Tue, Sep 18, 2012 at 5:46 AM, Mark Haney wrote: > On 09/18/2012 08:34 AM, Chris Stinemetz wrote: >> >> Hello list, >> >> I am very interested in cgi scripting. I have only used php for web >> development in the past. >> Would someone please let me kn

Re: cgi development environment

2012-09-18 Thread Shaun Fryer
t;> >> I am very interested in cgi scripting. I have only used php for web >> development in the past. >> Would someone please let me know of any good tutorials to get windows >> based web development environment set up and get my feet wet? > > > http://www.google.com/

Re: cgi development environment

2012-09-18 Thread David Christensen
On 09/18/12 05:34, Chris Stinemetz wrote: I am very interested in cgi scripting. I have only used php for web development in the past. Would someone please let me know of any good tutorials to get windows based web development environment set up and get my feet wet? http://www.google.com

Re: cgi development environment

2012-09-18 Thread Mark Haney
On 09/18/2012 08:34 AM, Chris Stinemetz wrote: Hello list, I am very interested in cgi scripting. I have only used php for web development in the past. Would someone please let me know of any good tutorials to get windows based web development environment set up and get my feet wet? Thank you

cgi development environment

2012-09-18 Thread Chris Stinemetz
Hello list, I am very interested in cgi scripting. I have only used php for web development in the past. Would someone please let me know of any good tutorials to get windows based web development environment set up and get my feet wet? Thank you in advance, Chris -- To unsubscribe, e-mail

Re: Attach iCal event to an cgi mail

2012-06-11 Thread Peter Scott
://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/certificates/perl-programming.php -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Attach iCal event to an cgi mail

2012-06-08 Thread mstep
ificates/perl-programming.php -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Attach iCal event to an cgi mail

2012-06-07 Thread Peter Scott
- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/certificates/perl-programming.php -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginner

Attach iCal event to an cgi mail

2012-06-04 Thread Marek
nspired from: http://wiki.perl-community.de/Wissensbasis/SendmailAttachments use strict; use warnings; use MIME::Base64; my $file_path = "/Users/you/Documents/webpages/cgi-bin/tmp"; my $file_name = "ical_summary.ics"; open(M, "|/usr/sbin/sendmail -t -oi") or die

Win32 cgi under Apache on Linux [How]

2011-09-26 Thread Al
Hello, I have a win32 executeable which contains a win32 Apache cgi. I want to, if possible get this file to run under Apache on Linux. I think the exe is just a container for the source/compiled files. I ran the exe on a win32 machine and it didnt appear to do anything, no output or errors. So

Re: PERL CGI SCRIPT killed by apache on client abort

2011-03-28 Thread Peter Scott
px?isbn=0137001274 http://www.oreillyschool.com/courses/perl3/ -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: PERL CGI SCRIPT killed by apache on client abort

2011-03-27 Thread Mike Williams
try again with the correct file. What difference does it make whether they get an error from your script or from apache, if they expected an error and intend to try again? Mike -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

PERL CGI SCRIPT killed by apache on client abort

2011-03-27 Thread Przemysław Rejf
cript: #!/usr/bin/perl -w use strict; use CGI; use warnings; use Digest::MD5 qw(md5_hex); use POSIX qw/ceil/; use POSIX 'setsid'; use LWP::Simple; $CGI::DISABLE_UPLOADS = 0; $CGI::POST_MAX = 1024 * 1024 * 200; our $php_exec = '/usr/bin/php'; our $www_root = 'www_root';

Where do i begin to learn Perl CGI? (before: Re: Why perl lost steam...)

2010-09-23 Thread Robert Roggenbuck
Hi, it depends how much You know about CGI in general. If you already know the basics about HTML-programming and the principles of CGI just have a look in the very detailed documentation of the Perl CGI module (http://search.cpan.org/~lds/CGI.pm-3.49/lib/CGI.pm). If HTML and CGI are new for

Re: Perl CGI

2010-04-30 Thread Robert Roggenbuck
Use LWP::Simple (not CGI). How to use it is written in the documentation of LWP::Simple. Robert karthickn sabari schrieb: Hi friends, I have some doubts in cgi perl. I want to connect server using perl CGI and i need to receive one txt file in server. Is it possible, then give me

Perl CGI

2010-04-30 Thread karthickn sabari
Hi friends, I have some doubts in cgi perl. I want to connect server using perl CGI and i need to receive one txt file in server. Is it possible, then give me the codding. Thanks, Karthick.N

Re: CGI-BIN Help/Advise - editing a file - HOW ?

2010-03-16 Thread Shlomi Fish
> I want to be able to the same thing via cgi-bin, can anyone advise where to > start. Basically, I want to be able to display the contents of the > INI/config file in some kind of FORM or web page and then allow the user to > be able to edit and save it at the same time. That is do

AW: CGI-BIN Help/Advise - editing a file - HOW ?

2010-03-15 Thread Thomas Bätzler
newbie01 perl asked: > At the moment, I have some sort of INI/config file that I edit manually > via vi. These config files are "simple" delimited file that are used by > some of the scripts running on the server. > > I want to be able to the same thing via cgi-bin, can

CGI-BIN Help/Advise - editing a file - HOW ?

2010-03-15 Thread newbie01 perl
Hi, At the moment, I have some sort of INI/config file that I edit manually via vi. These config files are "simple" delimited file that are used by some of the scripts running on the server. I want to be able to the same thing via cgi-bin, can anyone advise where to start. Basically,

Re: Perl CGI advise/feedback please ...

2010-02-13 Thread Jeremiah Foster
ew modules or a > database, for example, MySQL. The web server will be Apache. Given the > choice between PHP and CGI-BIN. I've chosen CGI-BIN, is that a "wise" choice > ... :-) PHP is a templating language, though it does more than that nowadays. PHP makes it fairly easy to combin

Perl CGI advise/feedback please ...

2010-02-10 Thread newbie01 perl
the choice between PHP and CGI-BIN. I've chosen CGI-BIN, is that a "wise" choice ... :-) For access, instead of a MySQL database, the only alternative that I can think of is reading the login information from a CSV delimited file for instance since I am not allowed to edit t

Re: Dumping vars from CGI with Data::Dumper

2009-12-31 Thread Brian J. Miller
bu...@alejandro.ceballos.info wrote: I am trying to read the values of all the parameters received in a CGI. But even using a Data::Dumper::Simple module, only the names of the params are displayed, not the name/value relation of each one. use Data::Dumper::Simple; use CGI; print Dumper

Dumping vars from CGI with Data::Dumper (2)

2009-12-30 Thread J Alejandro Ceballos Z
at the last post, it is print Dumper(param); (without the @) -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Dumping vars from CGI with Data::Dumper

2009-12-30 Thread buzon
I am trying to read the values of all the parameters received in a CGI. But even using a Data::Dumper::Simple module, only the names of the params are displayed, not the name/value relation of each one. use Data::Dumper::Simple; use CGI; print Dumper(\...@param); any idea what I am doing

Re: cgi and perl database interaction

2009-12-02 Thread Paweł Prędki
itten before that I've started using simple CGI scripts in Perl to make some activities automatic (i.e. statistics updates, standings updates - it's a sports-related website :) ). At first, I used the Storable module and kept all the data in flat files but it generally is not the best solutio

Re: cgi and perl database interaction

2009-12-02 Thread Paweł Prędki
Thanks, I'll see if I'm able to use that information. Rene Schickbauer pisze: Paweł Prędki wrote: I will look into the HTTP::Server::Simple::CGI and your framework but I'm not sure I'm knowledgeable enough to deal with that :) I mean I don't really get the idea of

Re: cgi and perl database interaction

2009-12-01 Thread Greg Jetter
ritten before that I've started using simple CGI scripts > in Perl to make some activities automatic (i.e. statistics updates, > standings updates - it's a sports-related website :) ). > > At first, I used the Storable module and kept all the data in flat files > but it gene

Re: cgi and perl database interaction

2009-12-01 Thread Paweł Prędki
tion :) I will look into the HTTP::Server::Simple::CGI and your framework but I'm not sure I'm knowledgeable enough to deal with that :) I mean I don't really get the idea of a phps being only proxies. At the moment a sample php file where I include my own cgi script looks like this:

Re: cgi and perl database interaction

2009-12-01 Thread Rene Schickbauer
those CGI scripts? CGI scripts are basically scripts executed at the commandline with a few parameters and environment variables set (each call normally starts a new instance). You could look into the various web frameworks if and how they solved the problem. If you can't install anything o

Re: cgi and php database interaction

2009-12-01 Thread Paweł Prędki
itten before that I've started using simple CGI scripts in Perl to make some activities automatic (i.e. statistics updates, standings updates - it's a sports-related website :) ). At first, I used the Storable module and kept all the data in flat files but it generally is not the bes

cgi and perl database interaction

2009-12-01 Thread Paweł Prędki
Hello, I have a website that uses a php engine for news generation and, basically, most of the other pages. It uses a MySQL database to store the majority of the page contents (i.e. news). However, I've written before that I've started using simple CGI scripts in Perl to make some

Re: Loading results (via ajax) from a CGI

2009-12-01 Thread Rene Schickbauer
bu...@alejandro.ceballos.info wrote: I have a CGI (made with cgi.pm) that receive a parameters, check against a DB and returns a text with "not found" or "OK found" message. Pretty simple. In other site, i have an ajax routine that sends the parameters (via get) and is

Re: Saving param after new recall of a cgi script

2009-12-01 Thread Rene Schickbauer
rch.cpan.org/~cavac/Maplat-0.9/lib/Maplat/Helpers/DBSerialize.pm> I originally wrote it to store perl data structures into a database text field, should work in a hidden HTML form, too. Something like this: LG Rene -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional c

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

Re: Saving param after new recall of a cgi script

2009-11-28 Thread Marek
On 27 Nov., 10:42, rrogg...@uni-osnabrueck.de (Robert Roggenbuck) wrote: > You should store the values from step 2 at step 3 in hidden parameters ( type="hidden" ...>). The You can access them via CGI in step 4. > > An alternative would be storing the whole CGI-object

Re: Saving param after new recall of a cgi script

2009-11-27 Thread Greg Jetter
ernal file? > > > Hope that my English was explaining good enough my problem. The script > itself is much to long ... > > Best greetings from Munich > > > marek User Data Validation is best preformed using JavaScript on the users browser , checking for junk should

Re: Loading results (via ajax) from a CGI

2009-11-27 Thread Alexander Krasnorutsky
On Fri, 2009-11-27 at 05:58 -0800, bu...@alejandro.ceballos.info wrote: > I have a CGI (made with cgi.pm) that receive a parameters, check > against a DB and returns a text with "not found" or "OK found" > message. Pretty simple. > > In other site, i

Loading results (via ajax) from a CGI

2009-11-27 Thread buzon
I have a CGI (made with cgi.pm) that receive a parameters, check against a DB and returns a text with "not found" or "OK found" message. Pretty simple. In other site, i have an ajax routine that sends the parameters (via get) and is expected to capture the result

Re: Saving param after new recall of a cgi script

2009-11-27 Thread Robert Roggenbuck
You should store the values from step 2 at step 3 in hidden parameters (type="hidden" ...>). The You can access them via CGI in step 4. An alternative would be storing the whole CGI-object in a file using Data::Dumper and recreate it using 'do $file'. Greetings

Saving param after new recall of a cgi script

2009-11-27 Thread Marek
the parameters from the first input? I tried everything, but there is nothing kept in my array. Do I have to save these parameters into an external file? Hope that my English was explaining good enough my problem. The script itself is much to long ... Best greetings from Munich marek -- To

Re: Storing a file from a cgi parameter

2009-06-22 Thread Gunnar Hjalmarsson
J Alejandro Ceballos Z wrote: Gunnar Hjalmarsson wrote: J Alejandro Ceballos Z wrote: I am trying to store a file in the temp directory. It creates the desired file, but with size 0. The files are videos sent via CGI. I tried with the upload function, but it did not work too. Would you

Re: Storing a file from a cgi parameter

2009-06-21 Thread J Alejandro Ceballos Z
As I understand, the code must be overwritten like: #!/usr/bin/perl -T use CGI::UploadEasy; use CGI; use strict; use warnings; # create and load data my $ue = CGI::UploadEasy->new(-uploaddir => '~/tmp'); my $file_file = $cgi_this->param(&

Re: Storing a file from a cgi parameter

2009-06-19 Thread Alexander Krasnorutsky
On Tue, 2009-06-16 at 21:29 -0500, J Alejandro Ceballos Z wrote: > I am trying to store a file in the temp directory. > > It creates the desired file, but with size 0. > > The files are videos sent via CGI. I tried with the upload function, > but it did not work too. >

Re: Storing a file from a cgi parameter

2009-06-17 Thread Gunnar Hjalmarsson
J Alejandro Ceballos Z wrote: I am trying to store a file in the temp directory. It creates the desired file, but with size 0. The files are videos sent via CGI. I tried with the upload function, but it did not work too. Would you please give me some direction about what I am doing wrong

Storing a file from a cgi parameter

2009-06-16 Thread J Alejandro Ceballos Z
I am trying to store a file in the temp directory. It creates the desired file, but with size 0. The files are videos sent via CGI. I tried with the upload function, but it did not work too. Would you please give me some direction about what I am doing wrong or what should I do in order

Re: Web photo album, is this possible in CGI

2009-05-23 Thread Adam Jimerson
le in the html header of the script? The page is here http://vendion.net/cgi-bin/photoviewer.cgi but as you can see I have the javascript directly in my page print start_html(-title=>"Photo Viewer v$version", -author=>'vend...@vendion.net',

Re: Web photo album, is this possible in CGI

2009-05-10 Thread Bruce Ferrell
, or even a enlargeable thumbnail of the photo, in kind of a >> photo album way. I don't know if something like this can be done in CGI or >> not, and figure I would ask and see what everyone here says before I give >> it a try, if it is possible maybe someone would have a

Re: Web photo album, is this possible in CGI

2009-05-10 Thread Greg Jetter
o, in kind of a > photo album way. I don't know if something like this can be done in CGI or > not, and figure I would ask and see what everyone here says before I give > it a try, if it is possible maybe someone would have any tips or pointers > that would be helpful. photo albums

Web photo album, is this possible in CGI

2009-05-10 Thread Adam Jimerson
an be done in CGI or not, and figure I would ask and see what everyone here says before I give it a try, if it is possible maybe someone would have any tips or pointers that would be helpful. -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-

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-21 Thread Raheel Hassan
u-server.html<http://www.ubuntugeek.com/how-to-install-apache2-webserver-with-phpcgi-a%0And-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 l

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

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

2009-04-16 Thread Dermot Paikkos
You can choose whatever directory you like. On *nix machines it's usually on /var/www/cgi-bin, but it can be any directory you want. It might even be set-up to work by default. Try it. Stick your script into the script directory and point your browser at http://host/cgi-bin/youscript.pl, an

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

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

2009-04-14 Thread Gunnar Hjalmarsson
Hello again, Raheel. Raheel Hassan wrote: 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. Yes, this is a better place

how to add support of Msql and CGI in Apache

2009-04-14 Thread Raheel Hassan
Hello, 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. Thanks in advance. Regards, Raheel.

Re: CGI ap on NetworkSolutions host

2009-04-08 Thread Vance E. Neff
Jay, That was the problem. The file was not set to be executable. Plus I removed the public readable and all writables. Vance Jay Savage wrote: On Wed, Apr 8, 2009 at 10:12 AM, Vance E. Neff wrote: Hello, has anyone had experience getting a CGI application to work on a NetworkSolutions

Re: CGI ap on NetworkSolutions host

2009-04-08 Thread Jay Savage
On Wed, Apr 8, 2009 at 10:12 AM, Vance E. Neff wrote: > Hello, > > has anyone had experience getting a CGI application to work on a > NetworkSolutions unix host? > > I have a CGI program under cgi-bin called Login.CGI and a html page under > htdocs. > When the html page at

Re: CGI ap on NetworkSolutions host

2009-04-08 Thread Gunnar Hjalmarsson
Vance E. Neff wrote: I have a CGI program under cgi-bin called Login.CGI and a html page under htdocs. When the html page attempts to post a form to ../cgi-bin/Login.CGI, I get a non-description error: 500 internal server error Try adding use CGI::Carp 'fatalsToBrowser'; ne

CGI ap on NetworkSolutions host

2009-04-08 Thread Vance E. Neff
Hello, has anyone had experience getting a CGI application to work on a NetworkSolutions unix host? I have a CGI program under cgi-bin called Login.CGI and a html page under htdocs. When the html page attempts to post a form to ../cgi-bin/Login.CGI, I get a non-description error: 500

Re: get no info by $cgi->uploadInfo()

2009-02-06 Thread Gunnar Hjalmarsson
Robert Roggenbuck wrote: I just want do upload a file whithin my CGI-script. But when I try to check the MIME-Type of the uploaded file, the script breaks. Here are the relevant code lines: Whats going on there? What did I wrong? I didn't study your code in detail, but it sounds l

get no info by $cgi->uploadInfo()

2009-02-06 Thread Robert Roggenbuck
Hi, I just want do upload a file whithin my CGI-script. But when I try to check the MIME-Type of the uploaded file, the script breaks. Here are the relevant code lines: use CGI qw/:cgi :form -private_tempfiles/; my $cgi = new CGI; our $fh = $cgi->upload('fileupload')

Re: Sending intermediate response for a long running cgi script

2009-01-27 Thread Sean Davis
On Tue, Jan 27, 2009 at 12:56 AM, Tim Bowden wrote: > I've got a cgi script that will on occasion run for some time (exactly > how long I'm not sure yet...) and I'd like to return a "processing > please wait" type response to the web client if/when a certain time

Re: Sending intermediate response for a long running cgi script

2009-01-27 Thread Peter Scott
On Tue, 27 Jan 2009 14:56:39 +0900, Tim Bowden wrote: > I've got a cgi script that will on occasion run for some time (exactly > how long I'm not sure yet...) and I'd like to return a "processing > please wait" type response to the web client if/when a certain

Sending intermediate response for a long running cgi script

2009-01-26 Thread Tim Bowden
I've got a cgi script that will on occasion run for some time (exactly how long I'm not sure yet...) and I'd like to return a "processing please wait" type response to the web client if/when a certain time limit has passed, then have the final result sent back when the pro

Re: Regarding opening web page scripted in perl and cgi

2009-01-15 Thread Gunnar Hjalmarsson
.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Regarding opening web page scripted in perl and cgi

2009-01-15 Thread Karthik Vemula
dent, Dept of CSSE, Auburn University. -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re:[SOLVED] embedding a CGI script in a HTML page?

2008-12-16 Thread Adam Jimerson
t; > Did you perhaps use 'div class='leftcolumn' ? > > That will not work with your stylesheet. > > div id='leftcolumn' *will* work > > Here is a little cgi program that uses CGI.pm and your style sheet to print > a some stuff in a blue co

Re: embedding a CGI script in a HTML page?

2008-12-16 Thread David Dorward
Adam Jimerson wrote: Correct me if I am wrong but these template systems seem to only handle output from the CGI script, which would be nice if my scripts only handled output but they also need user input 1. Browser sends input data to server 2. Server sends input data to program using CGI

Re: embedding a CGI script in a HTML page?

2008-12-16 Thread David Dorward
CGI.pm would do (I'm using CGI::Fast for this, which is similar). Line 33 uses that input to change what request gets sent to the database on ... Line 42 (which) gets a list of messages from the database (much like a guestbook would). Line 49 wraps it up in a hash. Ignore lines 51

Re: embedding a CGI script in a HTML page?

2008-12-16 Thread Adam Jimerson
t; >>>>> 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

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Mike Williams
and put perl code ino my HTML page, I know that that > is impossible because the browser has no clue what to do with it, what I > am asking about is embedding the text/html the CGI.pm generates into a > page where I do have my style at. > This is a confusing statement. If you want

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Williams wrote: > Your first question was: > >> Is it possible to embed a CGI scrip into a HTML page? > > Now you say: > >> I'm not trying to put perl code into the page > > You will get better answe

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Greg Jetter
entation, 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 the > >> tag, which I would think would be th

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread David Dorward
Adam Jimerson wrote: I'm not trying to put perl code into the page, they way I have it now is I have the page generated by my CGI script inside another page that is using my CSS. I've tried to have my CGI script directly handle my CSS but it didn't work due to its limited suppo

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Mike Williams
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 the >>> tag, which I would think would be the

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Sean Davis
plate toolkit web site, that may help you understand >> it. >> >> 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 the

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dermot Paikkos wrote: >> -Original Message- >>> http://www.template-toolkit.org/ >>> >>> Mike >> Looking at the website and the documentation, still reading through > it, >> I'm still not

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

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Adam Jimerson
t; 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 the tag, which I would think would be the last browser to support it. It may just be that

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Sean Davis
ed into it to dynamically change parts of it. The main idea, though, is to separate your code (the part that does the database calls, validation, etc.) from the display of the results; the two are nearly orthogonal concerns. Sean -- To unsubscribe, e-mail: beginners-cgi-unsubscr...

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Mike Williams
ely lost in how > to use it for my needs. > Take a look at the template toolkit web site, that may help you understand it. http://www.template-toolkit.org/ Mike -- 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-14 Thread Adam Jimerson
ample. > > Sean Are you talking about this, http://search.cpan.org/~abw/Template-Toolkit-2.20/lib/Template.pm? If so it doesn't really say what it is for I am completely lost in how to use it for my needs. -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional c

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread David Dorward
an iframe, but less well supported. > The reason why I posted is because I wanted my page to look like this > http://vendion.dyndns.org/guestbook.html as opposed to the basic white > page when viewed through /cgi-bin/guestbook.cgi. Change the script to use a template that matches the design

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Adam Jimerson
On Dec 12, 2:37 pm, g...@lazymountain.com (Greg Jetter) wrote: > On Thursday 11 December 2008 1:42:36 pm Adam Jimerson wrote: > > > Is it possible to embed a CGI scrip into a HTML page?  I don't know if CGI > > scripts work in a way that allow for this, I know that in P

Re: embedding a CGI script in a HTML page?

2008-12-14 Thread Sean Davis
On Thu, Dec 11, 2008 at 5:42 PM, Adam Jimerson wrote: > Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI > scripts work in a way that allow for this, I know that in PHP this is > possible, because I want to make my CGI scripts and website have a unified

Re: embedding a CGI script in a HTML page?

2008-12-12 Thread Greg Jetter
On Thursday 11 December 2008 1:42:36 pm Adam Jimerson wrote: > Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI > scripts work in a way that allow for this, I know that in PHP this is > possible, because I want to make my CGI scripts and website have a unif

embedding a CGI script in a HTML page?

2008-12-12 Thread Adam Jimerson
Is it possible to embed a CGI scrip into a HTML page? I don't know if CGI scripts work in a way that allow for this, I know that in PHP this is possible, because I want to make my CGI scripts and website have a unified look but I can't get my CSS to work in any of my scripts. -- &qu

  1   2   3   4   5   6   7   8   9   10   >