RE: help with form

2001-12-10 Thread Bob Showalter
> -Original Message- > From: Pedro A Reche Gallardo [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 08, 2001 3:06 PM > To: [EMAIL PROTECTED] > Subject: help with form > > > Hi all, I am working on a cgi script that can create a > temporal file > with either an uploaded file, or

RE: Perl modules on web host server

2001-12-10 Thread Bob Showalter
> -Original Message- > From: Hoenie Luk [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 09, 2001 2:52 AM > To: [EMAIL PROTECTED] > Subject: Perl modules on web host server > > > Hi, I'm new to cgi-programming with Perl and I've been > looking for answers > for the following questio

Re: IP Address Reverse Lookup

2001-12-10 Thread Brett W. McCoy
On Mon, 10 Dec 2001, Brian wrote: > If at all possible, which perl module would I need to call in order to > perform a reverse lookup on an IP address? > > I need to produce something simalar to the "host" command > ie: > > [brian@mustang brian]$ host 12.90.6.4 > 4.6.90.12.in-addr.arpa domain nam

submit in shell/text mode

2001-12-10 Thread zaka rias
i got a html file like this : == #!/usr/bin/perl print

Hash of Hashes to set up form

2001-12-10 Thread Marcus Willemsen
Hi all, can anybody help? I am trying to set up a form using a hash of hashes to build different types of fields as I think it is easier to check and process form input: my %fields = (textfield => { 'Name_of_textfield' => { -name => 'bla' }, 'Name_of_next_textfie

Re: Hash of Hashes to set up form

2001-12-10 Thread Curtis Poe
--- Marcus Willemsen <[EMAIL PROTECTED]> wrote: > Hi all, > > can anybody help? > I am trying to set up a form using a hash of hashes to build different > types of fields as I think it is easier to check and process form input: > > my %fields = (textfield => { 'Name_of_textfield' => { -name =>

question about reading a page to sort information

2001-12-10 Thread Lance Prais
I am a beginning perl developer and am a little confused I was wondering if anyone out there can give me some direction. or at the very least tell me a good site for beginners to get information. it seem like every site is for advanced developers My situation is as follows I have a command that

Re: cgi & form

2001-12-10 Thread Mark Bergeron
How are you calling the form. You might try and including a little of your code so we can see what's going on. -Original Message- From: "Tat Nam"<[EMAIL PROTECTED]> To: "Beginners Perl"<[EMAIL PROTECTED]> Date: Sun Dec 09 23:01:10 PST 2001 Subject: cgi & form >Hi, > I'm writing a surv

RE: question about reading a page to sort information

2001-12-10 Thread Herbold, John W.
>-Original Message- >From: Lance Prais [mailto:[EMAIL PROTECTED]] >Sent: Monday, December 10, 2001 10:08 AM >To: [EMAIL PROTECTED] >Subject: question about reading a page to sort information < SNIP > >my script need to do this: >1. call the function to generate the log file---done that >2

printing a XML::Twig

2001-12-10 Thread Jeremy Webster
Has anyone here ever used the Twig::print method to print to a file? I'm having trouble getting it to work. Here is my code ($twig has already been parsed) $ofile = '/var/www/html/tech/xml/report.xml'; $twig->set_pretty_print('indented'); $twig->print(ofile); I get a malformed header from scri

accessing ASP functionality through Perl/CGI

2001-12-10 Thread Molly Magai
Does anyone know how to have a cgi script send a POST request to an unrelated Web page? Here's why: We're getting a new NT server. We currently run our pages on CGI scripts, but we're planning to move all our hosting to ASP in the next few months. In the meanwhile, we'll be running CGI on the new

Re: accessing ASP functionality through Perl/CGI

2001-12-10 Thread Kevin Meltzer
Hi Molly, On Mon, Dec 10, 2001 at 01:11:06PM -0800, Molly Magai ([EMAIL PROTECTED]) said something similar to: > Does anyone know how to have a cgi script send a POST request to an > unrelated Web page? Have you looked at the LWP::* modules? > Here's why: We're getting a new NT server. We cur

help with open function

2001-12-10 Thread Lance Prais
I am using the following statement to open a document. open("..\..\workflow.txt", "Workflow")|| die "Cannot open Workflow $!\n"; 1. the perl.exe resides in e:\perl\bin\perl.exe 2. the workflow.txt reside is e: 3. the error I am getting is "Cannot open workflow No Such file or directory" What am

RE: help with open function

2001-12-10 Thread Herbold, John W.
Why not just tell it... open("e:\workflow.txt", "Workflow")|| die "Cannot open workflow $!\n"; John Herbold IS Specialist/DBA -Original Message- From: Lance Prais [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 7:28 PM To: [EMAIL PROTECTED] Subject: help with open functi

RE: help with open function

2001-12-10 Thread Lance Prais
I tried that but received the same errors, I am sure it is a simple solution but I feel like I have tried every possible option with the same error. -Original Message- From: Herbold, John W. [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 3:35 PM To: [EMAIL PROTECTED] Subject:

Re: help with open function

2001-12-10 Thread Kevin Meltzer
That would still not work. You are putting the cart before the horse, or rather, the filename before the filehandle. open(FH, "file.txt") ... perldoc -f open perldoc perlopentut Cheers, Kevin On Mon, Dec 10, 2001 at 05:35:14PM -0600, Herbold, John W. ([EMAIL PROTECTED]) said something similar

Re: help with upload form

2001-12-10 Thread zentara
Pedro wrote: >Hi all, I am working on a cgi script that can create a temporal file >with either an uploaded file, or, in its absence, the pasted content of >tha Well, I spent sometime to learn this upload example: Here is the solution I came up with. There were 2 problems as far as I could te

Array Problem.

2001-12-10 Thread Andre` Niel Cameron
Hi, I have a prob:) I need to search threw an array and remove an item based on its name. I was thinking about maybie a for each loop but I am not sure how to go about it. Heres what I need to do: say $object= sword; I have an array @AllObjects('beer', 'nuts', 'sword', 'and more stuff') Now s

Re: help with upload form (extra)

2001-12-10 Thread zentara
I almost forgot. The html you originally posted didn't have a submit button. Should be: HTML

Re: Array Problem.

2001-12-10 Thread Curtis Poe
--- Andre` Niel Cameron <[EMAIL PROTECTED]> wrote: > Hi, > > I have a prob:) I need to search threw an array and remove an item based on > its name. I was thinking about maybie a for each loop but I am not sure how > to go about it. Heres what I need to do: > > say $object= sword; > I have an

script doesn't work under https but works under http???

2001-12-10 Thread Alex Chau
hi everybody, I have posted a script to my server, and it works properly if I use http://blarblar/cgi-bin/test.pl, but if I use https://blarblar/cgi-bin/test.pl with SSL, the browser will display the text instead of execute it. Can anyone tell me what's the possible problem? Thanks in advance

Dynamic html/frames frm PERL not working

2001-12-10 Thread David Gilden
Could someone point out why the CGI script below does not work? Thanks, Dave The CGI (shown below) is used to create a frameset.html file. http://dowda.rockin.net/final/ Click on one of the left menu choices, ( using Netscape ) This is what the hrefs look like: Intro Another File... This work

Re: cgi & form again

2001-12-10 Thread Tat Nam
Hi, The following scripts processes the form and write somthings out and then allow the user to input his/her e-mail address. After input of the e-mail address, the script write it into a flat file. However, the script runs into trouble. Help! #!/usr/local/bin/perl -wT use strict; use