Python will allow forward-slash paths on Windows, and os.path.expanduser works on Windows also, so you can get a user-specific file path using:
config_file = os.path.expanduser("~/foo.ini")
$opts = array(
'http'=>array(
'method'=>"GET",
'header'=>"Accept-language: en\r\n" .
"Cookie: foo=bar\r\n"
)
);
$context = stream_context_create($opts);
// Open the file using the HTTP headers set above
$file = file_get_contents('http://www.example.com/', false, $context);
$data = '<?php $config = ' . var_export($config, true);
file_put_contents('config.php', $data);
array preg_split ( string $pattern , string $subject [, int $limit = -1 [, int $flags = 0 ]] )
F="asd";
Q="SELECT *
FROM blabla.users s
LEFT JOIN auth.users u on s.userId = u.userId
WHERE
s.userId is not NULL and
not( (u.email like \"test@%\" OR u.email like \"a@%\") ) and u.deactivated is NULL
INTO OUTFILE '/home/blalba/$F.csv'
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n';
"
echo "$Q"
PermitUserRC
Specifies whether any ~/.ssh/rc file is executed. The default is “yes”.
ForceCommand
Forces the execution of the command specified by ForceCommand, ignoring any command supplied by the client and ~/.ssh/rc if present. The command is invoked by using the user's login shell with the -c option. This
applies to shell, command, or subsystem execution. It is most useful inside a Match block. The command originally supplied by the client is available in the SSH_ORIGINAL_COMMAND environment variable. Specifying a com‐
mand of “internal-sftp” will force the use of an in-process sftp server that requires no support files when used with ChrootDirectory. The default is “none”.