systemcommand to php
Hello
With the command "tail -300 /var/log/apache2/access.log | less" i can look in the log for the 300 latest visitors from my logfile. and i wanted to ask if it's possiblle to get that command to run from a php file and if yes how ?? can someone please give an example on how i run system commands in php? i use debian if it matters.
|