Brin
05-06-2005, 05:25 PM
Hey,
its me first post, so hey all :)
Anyway, back to Perl.
I'm gonna try to learn CGI for my site. I know html but CGI is what I'm looking for right now, or what I think Im looking for.
What Im trying to do using CGI is a staff application. In about 4 boxes will be questions, and under them will be boxes to answer. When submited I want it to goto a script where it will be recorded in a list. WHen recorded I want it to add all of the new applications to the list. It would also be nice if I could learn to make a delete button on every application, so when its clicked the whole application is erased, hence we will need to use if they are denied...
Anyway, Im gonna put this script on a friends server since on our main site Im not even sure they even support CGI...
Heres a code from one of his cgi scripts. I cant even make the most simplest script work, it gives me a 500 error, all of his scripts start differently, like this
#!/usr/bin/perl
require "dknoppixlib.pl";
$keywords="Tech with DK - Downloads";
$description="Tech with DK -
So Im thinking that if I put
#!/usr/bin/perl
require "dknoppixlib.pl";
In front of all of my scripts it should work? But it doesnt? ANy ideas? Ill check the problem again and give you my submit and recieve scripts in a sec...
Thanks!
its me first post, so hey all :)
Anyway, back to Perl.
I'm gonna try to learn CGI for my site. I know html but CGI is what I'm looking for right now, or what I think Im looking for.
What Im trying to do using CGI is a staff application. In about 4 boxes will be questions, and under them will be boxes to answer. When submited I want it to goto a script where it will be recorded in a list. WHen recorded I want it to add all of the new applications to the list. It would also be nice if I could learn to make a delete button on every application, so when its clicked the whole application is erased, hence we will need to use if they are denied...
Anyway, Im gonna put this script on a friends server since on our main site Im not even sure they even support CGI...
Heres a code from one of his cgi scripts. I cant even make the most simplest script work, it gives me a 500 error, all of his scripts start differently, like this
#!/usr/bin/perl
require "dknoppixlib.pl";
$keywords="Tech with DK - Downloads";
$description="Tech with DK -
So Im thinking that if I put
#!/usr/bin/perl
require "dknoppixlib.pl";
In front of all of my scripts it should work? But it doesnt? ANy ideas? Ill check the problem again and give you my submit and recieve scripts in a sec...
Thanks!