Using bash shell script inside php
Hi,
Can anyone tell how do i use bash shell scripts inside php. I am just trying to call a simple cp command using php. Its not doing anything. Any help would be appreciated. |
"system()" or "eval" should do the trick.
Be very careful executing system commands from a PHP-based web page - it could be a HUGE security risk!!! |
Copying and Renaming files can be done directly through PHP
Code:
<?php |
All times are GMT -5. The time now is 03:36 PM. |