I. Na początek
II.Instalacja i konfiguracja
III. Opis języka
IV. Bezpieczeństwo
V. Możliwości
VI. Opis funkcji
VII. Zend API
VIII. PHP API: Interfejs rozszerzeń
X. Dodatki

Manual PHP

Zapraszam do korzystania z zamieszczonego przeze mnie manuala php. Mam nadzieję, że ta jego kopia przyda się zarówno profesjonalnym programistą, jak i początkującym twórcą skryptów PHP.

Autorzy

Mehdi Achour,
Friedhelm Betz,
Antony Dovgal,
Nuno Lopes,
Philip Olson,
Georg Richter,
Damien Seguy,
Jakub Vrana,
I kilka innych

Redakcja:

Gabor Hojtsy,
Marcin Dąbrowski, Michał Grzechowiak, Leszek Krupiński, Adam Major, Paweł Paprota, Michał Pena, Sławomir Pucia, Jarek Tabor, Tomasz Wójtowicz,

ssh2_auth_none

(PECL)

ssh2_auth_none --  Authenticate as "none"

Description

array ssh2_auth_none ( resource session, string username )

Attempt "none" authentication which usually will (and should) fail. As part of this failure, servers will return a list of accepted authentication methods. If the server does accept "none" as an authentication method for username, this function will simply return TRUE.

Przykład 1. Using ssh2_auth_none() to retreive a list of authentication methods.

<?php
$connection
= ssh2_connect('shell.example.com', 22);

$auth_methods = ssh2_auth_none($connection, 'user');

if (
in_array('password', $auth_methods)) {
  echo
"Server supports password based authentication\n";
}
?>

print 'odzież motocyklowa 1171501974' . "\n"; print 'bonsai 1171501810' . "\n"; print 'tłoczenie cd 1171501729' . "\n"; print 'lipoliza warszawa 1171501789' . "\n"; print 'angielski wrocław 1171501648' . "\n";