From 0b221e8945ae785dc706d8ea9a9e8e25532c0096 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 28 Jun 2011 21:11:52 -0700 Subject: bug #96 move libraries to library - better alignment of like rotator --- library/phpsec/intro.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 library/phpsec/intro.html (limited to 'library/phpsec/intro.html') diff --git a/library/phpsec/intro.html b/library/phpsec/intro.html new file mode 100644 index 000000000..406b22fc5 --- /dev/null +++ b/library/phpsec/intro.html @@ -0,0 +1,20 @@ + + +Chapter 1. Introduction

Chapter 1. Introduction

1.1. Who should use phpseclib

+ Although many of the features this library implements are implemented in PHP via optional extensions, what are + you, as a developer, going to do when a user tries to run your software on a host which, coincidentally, doesn't + happen to have that optional extension installed? You could, flat-out, tell that user to look for another + software package that does work on their server (or to get another host, or whatever), which is liable to leave + a bad impression on the user, or you could use a library like this - a library that uses those optional + extensions if they're available and falls back on an internal PHP implementation if they're not. +

+ Another advantage of using this library over optional PHP extensions is that you, as a developer, may find this + libraries API easier to use then extensions API. +

1.2. Using phpseclib

+ This library is written using the same conventions that libraries in the PHP Extension and Application Repository (PEAR) + have been written in. In particular, this library expects to be in your include_path: +

<?php
+set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib');
+
+include('Net/SSH2.php');
+?>
-- cgit v1.2.3