How to retreive values from HTML to perl script

K

kbnumesh

Hi,


I am very new to perl scripting can any one write an example to
retreive a value from an edit box of an html into perl script.


for example login program ....


the HTML should contain edit box to enter the input
the perl script retreive the data entered in that HTML edit box..


Thanks in advance..
 
T

Tintin

Hi,


I am very new to perl scripting can any one write an example to
retreive a value from an edit box of an html into perl script.


for example login program ....


the HTML should contain edit box to enter the input
the perl script retreive the data entered in that HTML edit box..

perldoc CGI

or

http://perldoc.perl.org/CGI.html
 
K

kbnumesh

When i input some text and press submit button

its printing the cgi file instead of outputing the value.....

is there any thing that i need to do pre settings to print the
ouput....

Thanks in advance
 
S

Sherm Pendley

When i input some text and press submit button

its printing the cgi file instead of outputing the value.....

That's a server configuration issue - it would be doing the same
thing if your script were in Python, Ruby, whatever.

Check the documentation for your server about how to correctly set
up a cgi-bin/ directory. If you still have questions about it, try
asking in a group for the server you're using.

sherm--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,196
Messages
2,571,036
Members
47,631
Latest member
kukuh

Latest Threads

Top