Link to home
Start Free TrialLog in
Avatar of mon1
mon1

asked on

SHELL SCRIPT AS CGI

hi friends..
       i am using tacacs program for using accounting purpose.. in order to check time consumed by each users, therre is command  ./taclast -t userid   .   But i have a plan to give this through web.   i know shell programming.. But i don't know how to call the shell script from the html . how to generate the html output  from shell script.

i am using unixware 2.0.1 .

if any body acn give an example how to use shell script as cgi.

U will give his user-id through web.. i have to get his user-id and pass this to  ./taclast -t userid . and trasfer the output to the DHTML.

i am new to section..



 
ASKER CERTIFIED SOLUTION
Avatar of jhurst
jhurst

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mon1
mon1

ASKER

that is working fine.. but i want to know one more thing. if the user entering some data through form. how can i refer that data in my shell script.