Re: [PHP] can button onclick executed a bash script
From: Robert Cummings (robert_at_interjinn.com)
Date: 11/11/03
- Next message: Tirumal B: "ssh command in php script"
- Previous message: Tirumal B: "can button onclick executed a bash script"
- In reply to: Tirumal B: "can button onclick executed a bash script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: tirumal b <tirumal_b@yahoo.com> Date: 11 Nov 2003 01:29:56 -0500
On Tue, 2003-11-11 at 01:25, tirumal b wrote:
> Hello All,
>
> A button tag's onclick event can execute a function
> of javascript but can it do the same with bash script
> function. I have two buttons. Each button will call
> its own function.could anyone tell how to write
Directly it cannot do what you want. Indirectly it can force a form
submission which can be checked by the target script page for which
button was clicked, and then depending on the button clicked can execute
a bash script.
HTH,
Rob.
-- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'
- Next message: Tirumal B: "ssh command in php script"
- Previous message: Tirumal B: "can button onclick executed a bash script"
- In reply to: Tirumal B: "can button onclick executed a bash script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|