Re: CGI Help

2007-08-23 Thread usenet
On Aug 21, 8:37 pm, [EMAIL PROTECTED] (Tony Heal) wrote: > I want to run a cgi script from another server inside a local cgi page You could use LWP or (better yet) WWW::Mechanize within your local CGI to fetch the content of the remote page and then display it from your local CGI script. -- The

Re: CGI Help

2007-08-21 Thread Gunnar Hjalmarsson
Tony Heal wrote: I want to run a cgi script from another server inside a local cgi page A quick and dirty example: #!/usr/bin/perl -T use strict; use warnings; use LWP::Simple; my ($content, $style) = getpage(); print < $style $content HTML sub getpage { my $domain = 'http://pace202

Re: CGI Help

2007-08-21 Thread Jeff Pang
-Original Message- >From: Tony Heal <[EMAIL PROTECTED]> >Sent: Aug 22, 2007 11:37 AM >To: beginners@perl.org >Subject: CGI Help > >I want to run a cgi script from another server inside a local cgi page > >SSI will only do local files, not remote U

CGI Help

2007-08-21 Thread Tony Heal
I want to run a cgi script from another server inside a local cgi page SSI will only do local files, not remote URLs. How can I do this? Tony Heal Pace Systems Group, Inc. 800-624-5999 [EMAIL PROTECTED]

RE: cgi help

2003-07-07 Thread Dan Muey
> Hi, Howdy > I am writing a form that will allow the user to find a record > by first and last name and display the record in an HTML I'd highly recommend using DBI and mysql instead of flat file. Much easier to search/store/etc.. > page. #!/usr/bin/perl use strict; use CGI qw(:standard); my

cgi help

2003-07-07 Thread brady jacksan
Hi, I am writing a form that will allow the user to find a record by first and last name and display the record in an HTML page. #!/usr/bin/perl use strict; use CGI qw(:standard); my @namedata; whie (){ @namedata = split (/\|/,$_); if ($namedata[0] =~name_word){ print" Firstname:$namedata[1]",

Re: CGI help

2003-03-25 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > > open (FH,"hl_of_users.txt") || &CgiDie("Can't open user file!"); > Try: open (FH,"hl_of_users.txt") or &CgiDie("Can't open user file!"); HTH,, Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: CGI help

2003-03-25 Thread jonathan . musto
il (to the numbers or address above) immediately. -Original Message- From: Stefan Lidman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:24 Cc: [EMAIL PROTECTED] Subject: Re: CGI help > in the browser, but as soon as i add a file handle to obtian the userid from > the

Re: CGI help

2003-03-25 Thread Stefan Lidman
> in the browser, but as soon as i add a file handle to obtian the userid from > the username it stops working, nothing is displayed. > > open (FH,"hl_of_users.txt") || &CgiDie("Can't open user file!"); > > I will be pereforming various actions on this file handle but at the moment > i can't do a

CGI help

2003-03-25 Thread jonathan . musto
I'm writing a simple cgi script that takes the user name from the url and outputs it in the html. For example the url: blar...blar/cgi-bin/sis_home.cgi?un=mustoj Here is my script which works fine: #!/usr/local/bin/perl # script name: sis_home.cgi use CGI qw(:standard); my $q = new CGI; my $us

CGI Help!

2001-11-26 Thread AMORE,JUAN (HP-Roseville,ex1)
Hello Anyone; URL = candidate=Juan+Amore&position=Technician&education=Professional+Certificatio n&RESULT_FileUpload-7=&RESULT_TextArea-8=&Submit=Submit> Any examples on how to append the above string coming from a HTML URL command line so that I may display it via a STDOUT html file New to C