Created
November 3, 2018 16:25
-
-
Save Zylvian/9b6a1acab87459d8e9a270865bdd016a 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 | |
$outie = exec('sudo /usr/bin/python /var/www/html/rainFetch.py'); | |
echo $outie; | |
$command = escapeshellcmd('/var/www/html/rainFetch.py'); | |
$output = shell_exec($command); | |
echo $output; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment