Re: displaying a message using perl code



On Mon, 19 Sep 2005, David Swiderski wrote:

>
> I tried to view the perl demo at the link you provided in your email
> http://www.pcug.org.au/~rcook/tute.cgi
> and WAS unable to GET TO THE DEMO to view it.

Fair enough, but you didn't say in what way you couldn't view that.
Just a couple of text boxes that when the email one was filled in and a
submission made, you got a response



> I'm not quite clear on exactly what the sample code does at this point being
> a newbie but what I'm understanding, I don't need to write a new complete
> perl script but just need to edit the existing script deleting a portion of
> it and inserting some new code into the script. Do I have that correct?


Fair enough, as a newbie then, I suspect you have a steep learning curve
to scale. What you are trying to achieve is slightly outside newbie
competence.

Your understanding is incorrect, you have
a) a html page that points to a processing script
b) and you have to do a fair bit of editing to get it to work on the web
c) other immediate questions, does your webserver execute .pl as cgi
scripts, and can you change the permissions to allow it to be executable?


> At this point, I believe what the objective of the new bit of code is to
> accomplish is to display the web form within the script and process the
> information that the user provides. Do I still need to use the original
> html form that I created and if so, do I have to pull the form into the
> script?


No, the idea is that your form is in the same script as your processing.

anyway, I wish you well. Do read perldoc CGI as a starter to better
understanding cgi and all that


Owen


.



Relevant Pages

  • Re: Key-passing from PHP to TCL CGI script - how is it done (web security issue)?
    ... TCL v.8.3 ... set hasEnteredTrivia 0 ... # NEW 8/7/2004 USE PHP (AS CGI) TO CHECK IF USER IS ATTEMPTING TO ENTER ... # USE REMOTE PHP SCRIPT TO CHECK FOR REPOSTING ...
    (comp.lang.tcl)
  • Re: Changing Passwords through the web (fwd)
    ... I use a CGI script that uses the poppassd and python ports on my small ... alert; ...
    (FreeBSD-Security)
  • Re: Help with a stragegy for diagnosis
    ... I have a Perl CGI that has work for years. ... first failure and before the second. ... A strategy would be to write tests for the script until you get the same ...
    (comp.lang.perl.moderated)
  • Re: Recommend PHP-Based Dashboard?
    ... and this is to illicite a response from php developers in a php usenet group trying to foster some kind of fear in us all that you may change your mind and go java or windows or mac? ... as i run true cgi scripts from the cgi exe *all the time* from the command-line, i assure you that you're wrong. ... the above explicitly states that i must use a feature of cgi in order to be considered a cgi script. ...
    (comp.lang.php)
  • Re: CGI email script
    ... > I recently started playing with Python CGI, and I was happy that my ... > I'm trying to write a basic Python email CGI script to send email ... web server runs an SMTp server as well this will work. ...
    (comp.lang.python)