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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chrchcol
Forum Newbie
Posts: 15
Joined: Fri Jul 14, 2006 5:35 am

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

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm not sure I understand your reasons for wanting this, but shell_exec() and it's siblings may be of interest.
Post Reply