Hi all,
in new in perl language and i need help how to make my first cgi-perl script
work.
i have a web form that users can input a username and password and check if
the username is valid by parsing or extracting the contents of a file, here
the web form html:
Username
Password·
my pe
ged on the code?
TIA
glen
> On Wed, 15 Jan 2003 15:54:02 +0800, [EMAIL PROTECTED] (Glynn
> S. Condez) wrote:
>
> >i have a web form that users can input a username and password and check
if
> >the username is valid by parsing or extracting the contents of a file,
here
>
3,$field4,$field5,$field6) = split /\s/, $_;
> if ($username eq $field2) {
> #only print when we find a match
> print "OK\n";
> print "$username and $password\n";
> #store that we have found a match so we don't print "oops try again"
Hi All,
I created a cgi perl script, its an account creation script, means you
can add an account to a linux system.
my problem is, the cgi can't append the password, shadow and group
file. How can I make my script to work? I don't have any idea now if
its possible to make the script work.
TIA
From: "Jason S" <[EMAIL PROTECTED]>
Guys, thanks for great idea. now i know how to solve
this problem :)
glen
>
> > On Fri, 24 Jan 2003 15:30:59 +0800, [EMAIL PROTECTED] (Glynn
> > S. Condez) wrote:
> >
> > >Hi All,
> > >
> > >I
Hi all,
I have a question. From a web form, i pass the info to a cgi script.
i have this variable on the script:
$username = param('username');
$lastname = param('lastname');
my question is, how can i use that two variable to another script
open by this command:
system('sudo', '-u', 'www', '/
Hi all,
I have a question. From a web form, i pass the info to a cgi script.
i have this variable on the script:
$username = param('username');
$lastname = param('lastname');
my question is, how can i use that two variable to another script
open by this command:
system('sudo', '-u', 'www', '/
Hi All,
I have a proble with my perl script to run in cronjob. When i run the script
in shell like this it works
#perl /path/to/perlscript
or
#./path/to/perlscript
what should be the problem running on cronjob.
both this doesnt work.
*/5 * * * * perl /path/to/pingscript
*/5 * * * * /path/to/per