Re: can button onclick executed a bash script

From: Date: Tue, 11 Nov 2003 06:29:56 +0000
Subject: Re: can button onclick executed a bash script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169142@lists.php.net to get a copy of this message
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. | `------------------------------------------------------------'

« previous php.general (#169142) next »