From 141a61ff652188db1a5b03d7a5b08120d6d47440 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 12 Aug 2021 10:53:57 +0200 Subject: [PATCH] dsq --- www/boris/ajax.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/boris/ajax.php b/www/boris/ajax.php index b63fe9e..5a95f10 100644 --- a/www/boris/ajax.php +++ b/www/boris/ajax.php @@ -10,8 +10,9 @@ if (isset($_REQUEST['phone'])) $phone = $_REQUEST['phone']; else $phone = urldec $message = "Proposition de ". $phone ." message : ".$link; //YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1); -$YOU=system("ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1'"); +$YOU=system("ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1'", $retval); print_r($YOU); +print_r($retval); $myfile = fopen("/home/".$YOU."/astroport/www/newfile.txt", "w") or die("Unable to open file!"); fwrite($myfile, $message);