07-20-2017
Quote:
Originally Posted by
robertkwild
wow that script looks hard
A lot of it is standard Bash programming. You'll get used to it.
Andrew
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a custom HTML form that has a couple radio buttons and a text field that requires a number.
I'm not a php programmer and could use some help with putting together php code to calculate a total based on the radio button selection and the text field number.
... (3 Replies)
Discussion started by: nck
3 Replies
2. Shell Programming and Scripting
I'm trying to use wget to submit a form. I have tried to dig out what is actually being "posted" and where, using tamperdata (see below).
http://ubuntuforums.org/attachment.php?attachmentid=109123&d=1239224127
Here is my wget command:
wget --http-user=xyz --http-password=xyz... (1 Reply)
Discussion started by: mike909
1 Replies
3. UNIX for Dummies Questions & Answers
hi,
I need to create a bash shell script which picks up data from a text file and in the output file puts it into an html made table. I have to use sed and awk utilties to do this
the input text file will contain data in the format:
job name para1 para2 para3 para4 para4
1 ... (1 Reply)
Discussion started by: intern123
1 Replies
4. Shell Programming and Scripting
hi ,
i need to create a bash shell script that insert a text data file into an html made table, this table output has to mailed.I am new to shell scripting and have a very minimum idea of shell scripting.
please help. (9 Replies)
Discussion started by: intern123
9 Replies
5. Shell Programming and Scripting
I am trying to write a shell script to use curl in order to automate downloading data from a website. The URL with the post form is here: http://try-db.org/de/InfoBySpecies.php .
I have a list of about 1800 different species I want to check. For Example, choose the first species and use the... (2 Replies)
Discussion started by: hansvg
2 Replies
6. Shell Programming and Scripting
hello
my script is submitting POST-data to a site
(its not my first script, i've done these before many times (include parsing scripts) but this one is tough)
so the problem is i'm submitting a form with firefox
and in firebug i see WHAT exactly i'm submitting
then
when i do EXACTLY the... (28 Replies)
Discussion started by: tip78
28 Replies
7. UNIX for Dummies Questions & Answers
Hello,
i have page domain.com/form.php
the form fields on form.php are named:
name=ipaddress
name=port
and submit button is named: submit
i want to ask how the linux command will look like to submit the form filled with:
ipaddress: 127.0.0.1
port: 80
I tried various curl and... (5 Replies)
Discussion started by: postcd
5 Replies
8. Shell Programming and Scripting
Hi All,
I'm new in forum.
Many congratulations to everyone for all work.
I'm not an expert in bash script
I've a problem with a sh file.
The sh file run every t minuts and it read data from txt file and then compile form.
Finally, the user, from the web browser click on send.
The script... (0 Replies)
Discussion started by: Herbert
0 Replies
9. Shell Programming and Scripting
Hi I was hoping some one could help me with a problem I have.
I am trying to collect some information from a web form and save it to a text file.
I found an example on this site that is sort of what I am trying to accomplish, the shell script bellow should echo the input back to the browser... (0 Replies)
Discussion started by: Paul Walker
0 Replies
LEARN ABOUT DEBIAN
catalystx::simplelogin::form::login
CatalystX::SimpleLogin::Form::Login(3pm) User Contributed Perl Documentation CatalystX::SimpleLogin::Form::Login(3pm)
NAME
CatalystX::SimpleLogin::Form::Login - validation for the login form
DESCRIPTION
A HTML::FormHandler form for the login form.
FIELDS
username
password
remember
submit
METHODS
validate
add_auth_errors
SEE ALSO
CatalystX::SimpleLogin::Controller::Login
CUSTOMIZATION
By default, the params passed to authenticate() are 'username' and 'password'. If you need to use different names, then you'll need to set
the correct value(s) via login_form_args in the configuration. The keys are 'authenticate_username_field_name' and/or
'authenticate_password_field_name'.
__PACKAGE__->config(
'Controller::Login' => {
login_form_args => {
authenticate_username_field_name => 'name',
authenticate_password_field_name => 'password2',
},
},
);
You can also change the way that the form is displayed by setting attributes. In MyApp.pm:
__PACKAGE__->config(
'Controller::Login' => {
login_form_args => {
login_error_message => 'Login failed',
field_list => [
'+submit' => { value => 'Login' },
]
}
},
);
Additional fields can be added:
field_list => [
'foo' => ( type => 'MyField' ),
'bar' => { type => 'Text' },
]
Additional arguments to the authenticate call can be added: If your user table has a column "status" and you want only those with "status =
'active'"to be able to log .in
__PACKAGE__->config(
'Controller::Login' => {
login_form_args => {
authenticate_args => { status => 1 },
},
},
};
AUTHORS
See CatalystX::SimpleLogin for authors.
LICENSE
See CatalystX::SimpleLogin for license.
perl v5.14.2 2011-09-05 CatalystX::SimpleLogin::Form::Login(3pm)