HighDots Forums  

Running Script from Form

Web Accessibility alt.html.web-accessibility


Discuss Running Script from Form in the Web Accessibility forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Fred Atkinson
 
Posts: n/a

Default Running Script from Form - 12-07-2008 , 05:07 AM






I've got a script file that is in a directory that is parallel
to my public HTML directory on my Web site.

By parallel directory, I mean that /public_html is in the same
subdirectory as /database.

I have script in the database subdirectory that is currently
set to run once daily by cron. It backs up the data in my SQL
database and saves the backup into the same directory.

I would like to be able to manually execute that file from a
management Web page I have created. For example, I'd like to have a
button on a form that when I push the 'Submit' button that the file is
executed and a backup is made.

What is the best way to do this?

Regards,



Fred

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.