running admin programs on production server
Posted: Sat Aug 15, 2009 6:10 am
I'm planning out how I can run PHP administrative programs (that update data in the database) on a production server that runs PHP and MySQL. I'm looking for help from folks who have experience with production servers.
The general idea is to put these PHP programs in another directory that couldn't be accessed with a browser. There, they could be run by me from the command line. One of these programs would be much more helpful if it could be run in a browser because of what it does.
Is there a way to do this safely - namely, run it using a browser but not allow anyone else to run it?
Also, is it safe for me to use MySQL Query Browser on the production machine in order to periodically run queries or make updates to the data in the database?
Thanks!
The general idea is to put these PHP programs in another directory that couldn't be accessed with a browser. There, they could be run by me from the command line. One of these programs would be much more helpful if it could be run in a browser because of what it does.
Is there a way to do this safely - namely, run it using a browser but not allow anyone else to run it?
Also, is it safe for me to use MySQL Query Browser on the production machine in order to periodically run queries or make updates to the data in the database?
Thanks!