Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: CGI::Application and HTML::Template

by jeroenes (Priest)
on Dec 01, 2000 at 20:00 UTC ( #44382=note: print w/replies, xml ) Need Help??


in reply to CGI::Application and HTML::Template

I'm a very lazy coder, so you might consider the following useful.

After one or two scripts, I decided that even that little CGI thing, fastCGI or whatever, was way too much work. Hence, I spend half a day to configure PHP, and used that for the simple stuff. For elaborate checking, I fire up some perl script, because PHP is not a very powerful language. But it is very simple to retrieve forms and to do some straightforward things with it.

PHP gives you every field of the forms back as a variable with the same name! So, no trouble with parsing. Also, some build-in functions to generate PNG's and it's also easy to link with RDBM's (postgresql). It also has some build-in checker for user-input, to prevent shell-escaping. You should check it out, methink.

And... just my 0.002 $.
Jeroen
I was dreaming of guitarnotes that would irritate an executive kind of guy (FZ)

Update: cleaned up some very sloppy language.

  • Comment on Re: CGI::Application and HTML::Template

Replies are listed 'Best First'.
Re: Re: CGI::Application and HTML::Template
by suave (Novice) on Dec 02, 2000 at 05:37 UTC
    Regarding your comment, "PHP gives you every field of the form back as a variable with the same name!," so does CGI.pm. Try:

    use CGI;
    $query = new CGI;

    # import form params into R namespace, default is 'Q'
    $query->import_names('R');

    see the perldoc for more info

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://44382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2019-12-06 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (159 votes). Check out past polls.

    Notices?