Created
January 26, 2018 01:08
-
-
Save Jul10l1r4/f167f1b5dd84628e0e6d3190d35199e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ↓↓↓↓↓↓↓↓ Esse é o caminho do php ↓↓←←← E este é o que eu desejo executar | |
exec("/usr/bin/php /var/www/html/chat/msg.php"); | |
// Ele irá disparar o arquivo, executará tal código no terminal | |
//atenção, uma vez que executado precisa de cautela em saber qual processo desejas fechar, para o servidor | |
//, precisa ser disparado apenas uma vez |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment