Page 1 of 1

How can you make a php web script call a server php scritp?

Posted: Fri Sep 01, 2006 11:23 pm
by chrchcol
How can I make it so when someone hits a submit button, on my web page, that it kicks off a server command line php script, that will read database information and act on it.

I would like to do this for security so the web script would write to the database and then the server command line script would read from it.


Chris

Posted: Fri Sep 01, 2006 11:36 pm
by feyd
I'm not sure I understand your reasons for wanting this, but shell_exec() and it's siblings may be of interest.