Quote:
Originally Posted by
poops
How can i get the buttons on the page to ssh to the server and kick off the scripts?
This is the basic functionality of "CGI". CGI -
Common Gateway Interface is a way to interface logic - scripts - with the webservers operation, so that whenever some event happens (like when a button is clicked, etc.) a certain script starts to run.
Quote:
Originally Posted by
poops
Instead of having to run these update stmnts from the command line or in workbench etc, the main goal is to have a page I can leave open in the browser at all times and just plug a variable into the text field and select the correct button for what i want it to update.
This is quite possible, but depending on how "public" this should be you will have to take various amounts of security precautions. If you simply add the text of your "variable" to a fixed statement and execute this it is possible to add a text which in fact comprises a complete SQL-statement and hence changes the intent of your original statement to something entirely different. This is called "SQL injection" and is one of the biggest issues in Web Development when dealing with user-provided values.
Now, if the three-button interface is just for your personal use you can of course skip any security means, like pre-parsing the user-provided part, etc.. But as the audience using this grows so does the risk of somebody not being as benevolent as you and the necessity of taking precautions increases.
I hope this helps.
bakunin