dsq
This commit is contained in:
parent
2b2d36e7dc
commit
141a61ff65
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue