mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix more examples (user notes)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@177175 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0b5b8af01a
commit
8df32e9048
2 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.ssh2-methods-negotiated">
|
||||
<refnamediv>
|
||||
|
@ -32,14 +32,14 @@ echo "Server identified using an {$methods['hostkey']} with ";
|
|||
echo "fingerprint: " . ssh2_fingerprint($connection) . "\n";
|
||||
|
||||
echo "Client to Server packets will use methods:\n";
|
||||
echo "\tCrypt: {$method['client_to_server']['crypt']}\n";
|
||||
echo "\tComp: {$method['client_to_server']['comp']}\n";
|
||||
echo "\tMAC: {$method['client_to_server']['mac']}\n";
|
||||
echo "\tCrypt: {$methods['client_to_server']['crypt']}\n";
|
||||
echo "\tComp: {$methods['client_to_server']['comp']}\n";
|
||||
echo "\tMAC: {$methods['client_to_server']['mac']}\n";
|
||||
|
||||
echo "Server to Client packets will use methods:\n";
|
||||
echo "\tCrypt: {$method['server_to_client']['crypt']}\n";
|
||||
echo "\tComp: {$method['server_to_client']['comp']}\n";
|
||||
echo "\tMAC: {$method['server_to_client']['mac']}\n";
|
||||
echo "\tCrypt: {$methods['server_to_client']['crypt']}\n";
|
||||
echo "\tComp: {$methods['server_to_client']['comp']}\n";
|
||||
echo "\tMAC: {$methods['server_to_client']['mac']}\n";
|
||||
|
||||
?>
|
||||
]]>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.ssh2-shell">
|
||||
<refnamediv>
|
||||
|
@ -44,7 +44,7 @@
|
|||
$connection = ssh2_connect('shell.example.com', 22);
|
||||
ssh2_auth_password($connection, 'username', 'password');
|
||||
|
||||
$stream = ssh2_shell($connection, 'vt102', 80, 24, SSH2_TERM_UNIT_CHARS);
|
||||
$stream = ssh2_shell($connection, 'vt102', null, 80, 24, SSH2_TERM_UNIT_CHARS);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue