For security reasons, it's not possible to execute system commands or use PHP functions like system() and exec(). However, PHP offers a number of other commands that you can use that provide similar functionality. For instance, the function file_exists($file) determines if a file exists.
To learn more about PHP, we suggest researching the PHP Group website or getting a book on PHP. It may also be helpful to review other PHP resources.