[Phpfreechat-svn] SF.net SVN: phpfreechat: [710] trunk/contrib/pfcInstaller2
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-08-28 21:05:37
|
Revision: 710 Author: kerphi Date: 2006-08-28 14:05:14 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=710&view=rev Log Message: ----------- work in progress on the new pfcInstaller Modified Paths: -------------- trunk/contrib/pfcInstaller2/.depdb trunk/contrib/pfcInstaller2/.filemap trunk/contrib/pfcInstaller2/index.php Added Paths: ----------- trunk/contrib/pfcInstaller2/HTTP/ trunk/contrib/pfcInstaller2/HTTP/Request/ trunk/contrib/pfcInstaller2/HTTP/Request/Listener.php trunk/contrib/pfcInstaller2/HTTP/Request.php trunk/contrib/pfcInstaller2/archive trunk/contrib/pfcInstaller2/config.php trunk/contrib/pfcInstaller2/mirrors trunk/contrib/pfcInstaller2/step1.php trunk/contrib/pfcInstaller2/step2.php Modified: trunk/contrib/pfcInstaller2/.depdb =================================================================== --- trunk/contrib/pfcInstaller2/.depdb 2006-08-27 07:56:46 UTC (rev 709) +++ trunk/contrib/pfcInstaller2/.depdb 2006-08-28 21:05:14 UTC (rev 710) @@ -1 +1 @@ -a:3:{s:8:"_version";s:3:"1.0";s:12:"dependencies";a:1:{s:12:"pear.php.net";a:3:{s:9:"mime_type";a:2:{i:0;a:3:{s:3:"dep";a:3:{s:4:"name";s:4:"PEAR";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.2.1";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:1;a:3:{s:3:"dep";a:2:{s:4:"name";s:14:"System_Command";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"optional";s:5:"group";b:0;}}s:4:"pear";a:8:{i:0;a:3:{s:3:"dep";a:5:{s:4:"name";s:11:"Archive_Tar";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:3:"1.1";s:11:"recommended";s:5:"1.3.1";s:7:"exclude";s:5:"1.3.0";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:1;a:3:{s:3:"dep";a:4:{s:4:"name";s:14:"Console_Getopt";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:3:"1.2";s:11:"recommended";s:3:"1.2";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:2;a:3:{s:3:"dep";a:4:{s:4:"name";s:17:"PEAR_Frontend_Web";s:7:"channel";s:12:"pear.php.net";s:3:"max";s:5:"0.5.0";s:9:"conflicts";s:0:"";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:3;a:3:{s:3:"dep";a:5:{s:4:"name";s:17:"PEAR_Frontend_Gtk";s:7:"channel";s:12:"pear.php.net";s:3:"max";s:5:"0.4.0";s:7:"exclude";s:5:"0.4.0";s:9:"conflicts";s:0:"";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:4;a:3:{s:3:"dep";a:3:{s:4:"name";s:7:"XML_RPC";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.4.0";}s:4:"type";s:8:"optional";s:5:"group";b:0;}i:5;a:3:{s:3:"dep";a:3:{s:4:"name";s:17:"PEAR_Frontend_Web";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.5.1";}s:4:"type";s:8:"optional";s:5:"group";s:12:"webinstaller";}i:6;a:3:{s:3:"dep";a:3:{s:4:"name";s:17:"PEAR_Frontend_Gtk";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.4.0";}s:4:"type";s:8:"optional";s:5:"group";s:12:"gtkinstaller";}i:7;a:3:{s:3:"dep";a:3:{s:4:"name";s:18:"PEAR_Frontend_Gtk2";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.1.2";}s:4:"type";s:8:"optional";s:5:"group";s:13:"gtk2installer";}}s:12:"file_archive";a:4:{i:0;a:3:{s:3:"dep";a:2:{s:4:"name";s:9:"MIME_Type";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:1;a:3:{s:3:"dep";a:2:{s:4:"name";s:9:"Mail_Mime";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"optional";s:5:"group";b:0;}i:2;a:3:{s:3:"dep";a:2:{s:4:"name";s:4:"Mail";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"optional";s:5:"group";b:0;}i:3;a:3:{s:3:"dep";a:3:{s:4:"name";s:10:"Cache_Lite";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.5.0";}s:4:"type";s:8:"optional";s:5:"group";b:0;}}}}s:8:"packages";a:1:{s:12:"pear.php.net";a:12:{s:4:"pear";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:9:"mime_type";}}s:14:"system_command";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:9:"mime_type";}}s:11:"archive_tar";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:14:"console_getopt";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:17:"pear_frontend_web";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:17:"pear_frontend_gtk";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:7:"xml_rpc";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:18:"pear_frontend_gtk2";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:9:"mime_type";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}s:9:"mail_mime";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}s:4:"mail";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}s:10:"cache_lite";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}}}} \ No newline at end of file +a:3:{s:8:"_version";s:3:"1.0";s:12:"dependencies";a:1:{s:12:"pear.php.net";a:4:{s:9:"mime_type";a:2:{i:0;a:3:{s:3:"dep";a:3:{s:4:"name";s:4:"PEAR";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.2.1";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:1;a:3:{s:3:"dep";a:2:{s:4:"name";s:14:"System_Command";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"optional";s:5:"group";b:0;}}s:4:"pear";a:8:{i:0;a:3:{s:3:"dep";a:5:{s:4:"name";s:11:"Archive_Tar";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:3:"1.1";s:11:"recommended";s:5:"1.3.1";s:7:"exclude";s:5:"1.3.0";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:1;a:3:{s:3:"dep";a:4:{s:4:"name";s:14:"Console_Getopt";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:3:"1.2";s:11:"recommended";s:3:"1.2";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:2;a:3:{s:3:"dep";a:4:{s:4:"name";s:17:"PEAR_Frontend_Web";s:7:"channel";s:12:"pear.php.net";s:3:"max";s:5:"0.5.0";s:9:"conflicts";s:0:"";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:3;a:3:{s:3:"dep";a:5:{s:4:"name";s:17:"PEAR_Frontend_Gtk";s:7:"channel";s:12:"pear.php.net";s:3:"max";s:5:"0.4.0";s:7:"exclude";s:5:"0.4.0";s:9:"conflicts";s:0:"";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:4;a:3:{s:3:"dep";a:3:{s:4:"name";s:7:"XML_RPC";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.4.0";}s:4:"type";s:8:"optional";s:5:"group";b:0;}i:5;a:3:{s:3:"dep";a:3:{s:4:"name";s:17:"PEAR_Frontend_Web";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.5.1";}s:4:"type";s:8:"optional";s:5:"group";s:12:"webinstaller";}i:6;a:3:{s:3:"dep";a:3:{s:4:"name";s:17:"PEAR_Frontend_Gtk";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.4.0";}s:4:"type";s:8:"optional";s:5:"group";s:12:"gtkinstaller";}i:7;a:3:{s:3:"dep";a:3:{s:4:"name";s:18:"PEAR_Frontend_Gtk2";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"0.1.2";}s:4:"type";s:8:"optional";s:5:"group";s:13:"gtk2installer";}}s:12:"file_archive";a:4:{i:0;a:3:{s:3:"dep";a:2:{s:4:"name";s:9:"MIME_Type";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:1;a:3:{s:3:"dep";a:2:{s:4:"name";s:9:"Mail_Mime";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"optional";s:5:"group";b:0;}i:2;a:3:{s:3:"dep";a:2:{s:4:"name";s:4:"Mail";s:7:"channel";s:12:"pear.php.net";}s:4:"type";s:8:"optional";s:5:"group";b:0;}i:3;a:3:{s:3:"dep";a:3:{s:4:"name";s:10:"Cache_Lite";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.5.0";}s:4:"type";s:8:"optional";s:5:"group";b:0;}}s:12:"http_request";a:2:{i:0;a:3:{s:3:"dep";a:3:{s:4:"name";s:7:"Net_URL";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:6:"1.0.12";}s:4:"type";s:8:"required";s:5:"group";b:0;}i:1;a:3:{s:3:"dep";a:3:{s:4:"name";s:10:"Net_Socket";s:7:"channel";s:12:"pear.php.net";s:3:"min";s:5:"1.0.2";}s:4:"type";s:8:"required";s:5:"group";b:0;}}}}s:8:"packages";a:1:{s:12:"pear.php.net";a:14:{s:4:"pear";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:9:"mime_type";}}s:14:"system_command";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:9:"mime_type";}}s:11:"archive_tar";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:14:"console_getopt";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:17:"pear_frontend_web";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:17:"pear_frontend_gtk";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:7:"xml_rpc";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:18:"pear_frontend_gtk2";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:4:"pear";}}s:9:"mime_type";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}s:9:"mail_mime";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}s:4:"mail";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}s:10:"cache_lite";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"file_archive";}}s:7:"net_url";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"http_request";}}s:10:"net_socket";a:1:{i:0;a:2:{s:7:"channel";s:12:"pear.php.net";s:7:"package";s:12:"http_request";}}}}} \ No newline at end of file Modified: trunk/contrib/pfcInstaller2/.filemap =================================================================== --- trunk/contrib/pfcInstaller2/.filemap 2006-08-27 07:56:46 UTC (rev 709) +++ trunk/contrib/pfcInstaller2/.filemap 2006-08-28 21:05:14 UTC (rev 710) @@ -1 +1 @@ -a:5:{s:3:"php";a:232:{s:18:"Console/Getopt.php";s:14:"console_getopt";s:15:"Archive/Tar.php";s:11:"archive_tar";s:12:"OS/Guess.php";s:4:"pear";s:27:"PEAR/ChannelFile/Parser.php";s:4:"pear";s:21:"PEAR/Command/Auth.xml";s:4:"pear";s:21:"PEAR/Command/Auth.php";s:4:"pear";s:22:"PEAR/Command/Build.xml";s:4:"pear";s:22:"PEAR/Command/Build.php";s:4:"pear";s:25:"PEAR/Command/Channels.xml";s:4:"pear";s:25:"PEAR/Command/Channels.php";s:4:"pear";s:23:"PEAR/Command/Common.php";s:4:"pear";s:23:"PEAR/Command/Config.xml";s:4:"pear";s:23:"PEAR/Command/Config.php";s:4:"pear";s:24:"PEAR/Command/Install.xml";s:4:"pear";s:24:"PEAR/Command/Install.php";s:4:"pear";s:23:"PEAR/Command/Mirror.xml";s:4:"pear";s:23:"PEAR/Command/Mirror.php";s:4:"pear";s:24:"PEAR/Command/Package.xml";s:4:"pear";s:24:"PEAR/Command/Package.php";s:4:"pear";s:23:"PEAR/Command/Pickle.xml";s:4:"pear";s:23:"PEAR/Command/Pickle.php";s:4:"pear";s:25:"PEAR/Command/Registry.xml";s:4:"pear";s:25:"PEAR/Command/Registry.php";s:4:"pear";s:23:"PEAR/Command/Remote.xml";s:4:"pear";s:23:"PEAR/Command/Remote.php";s:4:"pear";s:21:"PEAR/Command/Test.xml";s:4:"pear";s:21:"PEAR/Command/Test.php";s:4:"pear";s:27:"PEAR/Downloader/Package.php";s:4:"pear";s:21:"PEAR/Frontend/CLI.php";s:4:"pear";s:30:"PEAR/Installer/Role/Common.php";s:4:"pear";s:28:"PEAR/Installer/Role/Data.xml";s:4:"pear";s:28:"PEAR/Installer/Role/Data.php";s:4:"pear";s:27:"PEAR/Installer/Role/Doc.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Doc.php";s:4:"pear";s:27:"PEAR/Installer/Role/Ext.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Ext.php";s:4:"pear";s:27:"PEAR/Installer/Role/Php.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Php.php";s:4:"pear";s:30:"PEAR/Installer/Role/Script.xml";s:4:"pear";s:30:"PEAR/Installer/Role/Script.php";s:4:"pear";s:27:"PEAR/Installer/Role/Src.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Src.php";s:4:"pear";s:28:"PEAR/Installer/Role/Test.xml";s:4:"pear";s:28:"PEAR/Installer/Role/Test.php";s:4:"pear";s:23:"PEAR/Installer/Role.php";s:4:"pear";s:33:"PEAR/PackageFile/Generator/v1.php";s:4:"pear";s:33:"PEAR/PackageFile/Generator/v2.php";s:4:"pear";s:30:"PEAR/PackageFile/Parser/v1.php";s:4:"pear";s:30:"PEAR/PackageFile/Parser/v2.php";s:4:"pear";s:26:"PEAR/PackageFile/v2/rw.php";s:4:"pear";s:33:"PEAR/PackageFile/v2/Validator.php";s:4:"pear";s:23:"PEAR/PackageFile/v1.php";s:4:"pear";s:23:"PEAR/PackageFile/v2.php";s:4:"pear";s:16:"PEAR/REST/10.php";s:4:"pear";s:16:"PEAR/REST/11.php";s:4:"pear";s:34:"PEAR/Task/Postinstallscript/rw.php";s:4:"pear";s:24:"PEAR/Task/Replace/rw.php";s:4:"pear";s:24:"PEAR/Task/Unixeol/rw.php";s:4:"pear";s:27:"PEAR/Task/Windowseol/rw.php";s:4:"pear";s:20:"PEAR/Task/Common.php";s:4:"pear";s:31:"PEAR/Task/Postinstallscript.php";s:4:"pear";s:21:"PEAR/Task/Replace.php";s:4:"pear";s:21:"PEAR/Task/Unixeol.php";s:4:"pear";s:24:"PEAR/Task/Windowseol.php";s:4:"pear";s:23:"PEAR/Validator/PECL.php";s:4:"pear";s:19:"PEAR/Autoloader.php";s:4:"pear";s:16:"PEAR/Builder.php";s:4:"pear";s:20:"PEAR/ChannelFile.php";s:4:"pear";s:16:"PEAR/Command.php";s:4:"pear";s:15:"PEAR/Common.php";s:4:"pear";s:15:"PEAR/Config.php";s:4:"pear";s:19:"PEAR/Dependency.php";s:4:"pear";s:21:"PEAR/DependencyDB.php";s:4:"pear";s:20:"PEAR/Dependency2.php";s:4:"pear";s:19:"PEAR/Downloader.php";s:4:"pear";s:19:"PEAR/ErrorStack.php";s:4:"pear";s:18:"PEAR/Exception.php";s:4:"pear";s:17:"PEAR/Frontend.php";s:4:"pear";s:18:"PEAR/Installer.php";s:4:"pear";s:20:"PEAR/PackageFile.php";s:4:"pear";s:17:"PEAR/Packager.php";s:4:"pear";s:17:"PEAR/Registry.php";s:4:"pear";s:15:"PEAR/Remote.php";s:4:"pear";s:13:"PEAR/REST.php";s:4:"pear";s:16:"PEAR/RunTest.php";s:4:"pear";s:17:"PEAR/Validate.php";s:4:"pear";s:18:"PEAR/XMLParser.php";s:4:"pear";s:19:"scripts/pearcmd.php";s:4:"pear";s:19:"scripts/peclcmd.php";s:4:"pear";s:8:"PEAR.php";s:4:"pear";s:10:"System.php";s:4:"pear";s:11:"Net/URL.php";s:7:"net_url";s:14:"Net/Socket.php";s:10:"net_socket";s:13:"MIME/Type.php";s:9:"mime_type";s:23:"MIME/Type/Parameter.php";s:9:"mime_type";s:26:"docs/MIME_Type/example.php";s:9:"mime_type";s:14:"PHP/Compat.php";s:10:"php_compat";s:25:"PHP/Compat/Components.php";s:10:"php_compat";s:43:"PHP/Compat/Constant/DIRECTORY_SEPARATOR.php";s:10:"php_compat";s:32:"PHP/Compat/Constant/E_STRICT.php";s:10:"php_compat";s:38:"PHP/Compat/Constant/PATH_SEPARATOR.php";s:10:"php_compat";s:27:"PHP/Compat/Constant/STD.php";s:10:"php_compat";s:28:"PHP/Compat/Constant/FILE.php";s:10:"php_compat";s:31:"PHP/Compat/Constant/PHP_EOL.php";s:10:"php_compat";s:34:"PHP/Compat/Constant/UPLOAD_ERR.php";s:10:"php_compat";s:25:"PHP/Compat/Constant/T.php";s:10:"php_compat";s:45:"PHP/Compat/Function/array_change_key_case.php";s:10:"php_compat";s:35:"PHP/Compat/Function/array_chunk.php";s:10:"php_compat";s:37:"PHP/Compat/Function/array_combine.php";s:10:"php_compat";s:40:"PHP/Compat/Function/array_diff_assoc.php";s:10:"php_compat";s:38:"PHP/Compat/Function/array_diff_key.php";s:10:"php_compat";s:41:"PHP/Compat/Function/array_diff_uassoc.php";s:10:"php_compat";s:39:"PHP/Compat/Function/array_diff_ukey.php";s:10:"php_compat";s:45:"PHP/Compat/Function/array_intersect_assoc.php";s:10:"php_compat";s:43:"PHP/Compat/Function/array_intersect_key.php";s:10:"php_compat";s:46:"PHP/Compat/Function/array_intersect_uassoc.php";s:10:"php_compat";s:44:"PHP/Compat/Function/array_intersect_ukey.php";s:10:"php_compat";s:40:"PHP/Compat/Function/array_key_exists.php";s:10:"php_compat";s:37:"PHP/Compat/Function/array_product.php";s:10:"php_compat";s:36:"PHP/Compat/Function/array_search.php";s:10:"php_compat";s:35:"PHP/Compat/Function/array_udiff.php";s:10:"php_compat";s:41:"PHP/Compat/Function/array_udiff_assoc.php";s:10:"php_compat";s:42:"PHP/Compat/Function/array_udiff_uassoc.php";s:10:"php_compat";s:40:"PHP/Compat/Function/array_uintersect.php";s:10:"php_compat";s:46:"PHP/Compat/Function/array_uintersect_assoc.php";s:10:"php_compat";s:47:"PHP/Compat/Function/array_uintersect_uassoc.php";s:10:"php_compat";s:44:"PHP/Compat/Function/array_walk_recursive.php";s:10:"php_compat";s:32:"PHP/Compat/Function/bcinvert.php";s:10:"php_compat";s:32:"PHP/Compat/Function/bcpowmod.php";s:10:"php_compat";s:44:"PHP/Compat/Function/call_user_func_array.php";s:10:"php_compat";s:29:"PHP/Compat/Function/clone.php";s:10:"php_compat";s:32:"PHP/Compat/Function/constant.php";s:10:"php_compat";s:40:"PHP/Compat/Function/convert_uuencode.php";s:10:"php_compat";s:40:"PHP/Compat/Function/convert_uudecode.php";s:10:"php_compat";s:45:"PHP/Compat/Function/debug_print_backtrace.php";s:10:"php_compat";s:41:"PHP/Compat/Function/file_get_contents.php";s:10:"php_compat";s:41:"PHP/Compat/Function/file_put_contents.php";s:10:"php_compat";s:32:"PHP/Compat/Function/floatval.php";s:10:"php_compat";s:31:"PHP/Compat/Function/fprintf.php";s:10:"php_compat";s:31:"PHP/Compat/Function/fputcsv.php";s:10:"php_compat";s:35:"PHP/Compat/Function/get_headers.php";s:10:"php_compat";s:40:"PHP/Compat/Function/get_include_path.php";s:10:"php_compat";s:42:"PHP/Compat/Function/html_entity_decode.php";s:10:"php_compat";s:47:"PHP/Compat/Function/htmlspecialchars_decode.php";s:10:"php_compat";s:40:"PHP/Compat/Function/http_build_query.php";s:10:"php_compat";s:37:"PHP/Compat/Function/ibase_timefmt.php";s:10:"php_compat";s:29:"PHP/Compat/Function/idate.php";s:10:"php_compat";s:47:"PHP/Compat/Function/image_type_to_mime_type.php";s:10:"php_compat";s:33:"PHP/Compat/Function/inet_ntop.php";s:10:"php_compat";s:33:"PHP/Compat/Function/inet_pton.php";s:10:"php_compat";s:35:"PHP/Compat/Function/ini_get_all.php";s:10:"php_compat";s:28:"PHP/Compat/Function/is_a.php";s:10:"php_compat";s:32:"PHP/Compat/Function/md5_file.php";s:10:"php_compat";s:29:"PHP/Compat/Function/mhash.php";s:10:"php_compat";s:41:"PHP/Compat/Function/mime_content_type.php";s:10:"php_compat";s:32:"PHP/Compat/Function/ob_clean.php";s:10:"php_compat";s:32:"PHP/Compat/Function/ob_flush.php";s:10:"php_compat";s:36:"PHP/Compat/Function/ob_get_clean.php";s:10:"php_compat";s:36:"PHP/Compat/Function/ob_get_flush.php";s:10:"php_compat";s:44:"PHP/Compat/Function/php_strip_whitespace.php";s:10:"php_compat";s:40:"PHP/Compat/Function/pg_affected_rows.php";s:10:"php_compat";s:39:"PHP/Compat/Function/pg_escape_bytea.php";s:10:"php_compat";s:41:"PHP/Compat/Function/pg_unescape_bytea.php";s:10:"php_compat";s:44:"PHP/Compat/Function/restore_include_path.php";s:10:"php_compat";s:31:"PHP/Compat/Function/scandir.php";s:10:"php_compat";s:40:"PHP/Compat/Function/set_include_path.php";s:10:"php_compat";s:36:"PHP/Compat/Function/str_ireplace.php";s:10:"php_compat";s:33:"PHP/Compat/Function/str_rot13.php";s:10:"php_compat";s:33:"PHP/Compat/Function/str_split.php";s:10:"php_compat";s:35:"PHP/Compat/Function/str_shuffle.php";s:10:"php_compat";s:38:"PHP/Compat/Function/str_word_count.php";s:10:"php_compat";s:31:"PHP/Compat/Function/stripos.php";s:10:"php_compat";s:31:"PHP/Compat/Function/strpbrk.php";s:10:"php_compat";s:32:"PHP/Compat/Function/strripos.php";s:10:"php_compat";s:38:"PHP/Compat/Function/substr_compare.php";s:10:"php_compat";s:40:"PHP/Compat/Function/time_sleep_until.php";s:10:"php_compat";s:34:"PHP/Compat/Function/var_export.php";s:10:"php_compat";s:39:"PHP/Compat/Function/version_compare.php";s:10:"php_compat";s:31:"PHP/Compat/Function/vprintf.php";s:10:"php_compat";s:32:"PHP/Compat/Function/vsprintf.php";s:10:"php_compat";s:16:"File/Archive.php";s:12:"file_archive";s:26:"File/Archive/Predicate.php";s:12:"file_archive";s:23:"File/Archive/Reader.php";s:12:"file_archive";s:23:"File/Archive/Writer.php";s:12:"file_archive";s:30:"File/Archive/Predicate/And.php";s:12:"file_archive";s:34:"File/Archive/Predicate/Current.php";s:12:"file_archive";s:33:"File/Archive/Predicate/Custom.php";s:12:"file_archive";s:36:"File/Archive/Predicate/Duplicate.php";s:12:"file_archive";s:31:"File/Archive/Predicate/Ereg.php";s:12:"file_archive";s:32:"File/Archive/Predicate/Eregi.php";s:12:"file_archive";s:36:"File/Archive/Predicate/Extension.php";s:12:"file_archive";s:32:"File/Archive/Predicate/False.php";s:12:"file_archive";s:32:"File/Archive/Predicate/Index.php";s:12:"file_archive";s:35:"File/Archive/Predicate/MaxDepth.php";s:12:"file_archive";s:31:"File/Archive/Predicate/MIME.php";s:12:"file_archive";s:34:"File/Archive/Predicate/MinSize.php";s:12:"file_archive";s:34:"File/Archive/Predicate/MinTime.php";s:12:"file_archive";s:30:"File/Archive/Predicate/Not.php";s:12:"file_archive";s:29:"File/Archive/Predicate/Or.php";s:12:"file_archive";s:31:"File/Archive/Predicate/True.php";s:12:"file_archive";s:26:"File/Archive/Reader/Ar.php";s:12:"file_archive";s:31:"File/Archive/Reader/Archive.php";s:12:"file_archive";s:29:"File/Archive/Reader/Bzip2.php";s:12:"file_archive";s:29:"File/Archive/Reader/Cache.php";s:12:"file_archive";s:34:"File/Archive/Reader/ChangeName.php";s:12:"file_archive";s:30:"File/Archive/Reader/Concat.php";s:12:"file_archive";s:33:"File/Archive/Reader/Directory.php";s:12:"file_archive";s:28:"File/Archive/Reader/File.php";s:12:"file_archive";s:30:"File/Archive/Reader/Filter.php";s:12:"file_archive";s:28:"File/Archive/Reader/Gzip.php";s:12:"file_archive";s:30:"File/Archive/Reader/Memory.php";s:12:"file_archive";s:32:"File/Archive/Reader/MimeList.php";s:12:"file_archive";s:29:"File/Archive/Reader/Multi.php";s:12:"file_archive";s:29:"File/Archive/Reader/Relay.php";s:12:"file_archive";s:30:"File/Archive/Reader/Select.php";s:12:"file_archive";s:27:"File/Archive/Reader/Tar.php";s:12:"file_archive";s:34:"File/Archive/Reader/Uncompress.php";s:12:"file_archive";s:27:"File/Archive/Reader/Zip.php";s:12:"file_archive";s:35:"File/Archive/Writer/AddBaseName.php";s:12:"file_archive";s:26:"File/Archive/Writer/Ar.php";s:12:"file_archive";s:31:"File/Archive/Writer/Archive.php";s:12:"file_archive";s:29:"File/Archive/Writer/Bzip2.php";s:12:"file_archive";s:29:"File/Archive/Writer/Files.php";s:12:"file_archive";s:28:"File/Archive/Writer/Gzip.php";s:12:"file_archive";s:28:"File/Archive/Writer/Mail.php";s:12:"file_archive";s:30:"File/Archive/Writer/Memory.php";s:12:"file_archive";s:37:"File/Archive/Writer/MemoryArchive.php";s:12:"file_archive";s:29:"File/Archive/Writer/Multi.php";s:12:"file_archive";s:30:"File/Archive/Writer/Output.php";s:12:"file_archive";s:27:"File/Archive/Writer/Tar.php";s:12:"file_archive";s:38:"File/Archive/Writer/UniqueAppender.php";s:12:"file_archive";s:27:"File/Archive/Writer/Zip.php";s:12:"file_archive";}s:3:"doc";a:3:{s:32:"archive_tar/docs/Archive_Tar.txt";s:11:"archive_tar";s:24:"net_url/docs/example.php";s:7:"net_url";s:32:"file_archive/File/doc/readme.txt";s:12:"file_archive";}s:6:"script";a:3:{s:15:"scripts/pear.sh";s:4:"pear";s:18:"scripts/peardev.sh";s:4:"pear";s:15:"scripts/pecl.sh";s:4:"pear";}s:4:"data";a:2:{s:16:"pear/package.dtd";s:4:"pear";s:18:"pear/template.spec";s:4:"pear";}s:4:"test";a:87:{s:34:"php_compat/tests/loadconstant.phpt";s:10:"php_compat";s:34:"php_compat/tests/loadfunction.phpt";s:10:"php_compat";s:33:"php_compat/tests/loadversion.phpt";s:10:"php_compat";s:50:"php_compat/tests/constant/directory_separator.phpt";s:10:"php_compat";s:39:"php_compat/tests/constant/e_strict.phpt";s:10:"php_compat";s:35:"php_compat/tests/constant/file.phpt";s:10:"php_compat";s:45:"php_compat/tests/constant/path_separator.phpt";s:10:"php_compat";s:34:"php_compat/tests/constant/std.phpt";s:10:"php_compat";s:38:"php_compat/tests/constant/php_eol.phpt";s:10:"php_compat";s:41:"php_compat/tests/constant/upload_err.phpt";s:10:"php_compat";s:32:"php_compat/tests/constant/t.phpt";s:10:"php_compat";s:52:"php_compat/tests/function/array_change_key_case.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/array_chunk.phpt";s:10:"php_compat";s:44:"php_compat/tests/function/array_combine.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/array_diff_assoc.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/array_diff_uassoc.phpt";s:10:"php_compat";s:45:"php_compat/tests/function/array_diff_key.phpt";s:10:"php_compat";s:46:"php_compat/tests/function/array_diff_ukey.phpt";s:10:"php_compat";s:52:"php_compat/tests/function/array_intersect_assoc.phpt";s:10:"php_compat";s:50:"php_compat/tests/function/array_intersect_key.phpt";s:10:"php_compat";s:53:"php_compat/tests/function/array_intersect_uassoc.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/array_intersect_ukey.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/array_key_exists.phpt";s:10:"php_compat";s:44:"php_compat/tests/function/array_product.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/array_search.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/array_udiff.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/array_udiff_assoc.phpt";s:10:"php_compat";s:49:"php_compat/tests/function/array_udiff_uassoc.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/array_uintersect.phpt";s:10:"php_compat";s:53:"php_compat/tests/function/array_uintersect_assoc.phpt";s:10:"php_compat";s:54:"php_compat/tests/function/array_uintersect_uassoc.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/array_walk_recursive.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/bcinvert.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/bcpowmod.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/call_user_func_array.phpt";s:10:"php_compat";s:36:"php_compat/tests/function/clone.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/constant.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/convert_uuencode.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/convert_uudecode.phpt";s:10:"php_compat";s:52:"php_compat/tests/function/debug_print_backtrace.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/file_get_contents.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/file_put_contents.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/floatval.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/fprintf.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/fputcsv.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/get_headers.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/get_include_path.phpt";s:10:"php_compat";s:49:"php_compat/tests/function/html_entity_decode.phpt";s:10:"php_compat";s:54:"php_compat/tests/function/htmlspecialchars_decode.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/http_build_query.phpt";s:10:"php_compat";s:44:"php_compat/tests/function/ibase_timefmt.phpt";s:10:"php_compat";s:36:"php_compat/tests/function/idate.phpt";s:10:"php_compat";s:54:"php_compat/tests/function/image_type_to_mime_type.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/inet_ntop.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/inet_pton.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/ini_get_all.phpt";s:10:"php_compat";s:35:"php_compat/tests/function/is_a.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/is_scalar.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/md5_file.phpt";s:10:"php_compat";s:36:"php_compat/tests/function/mhash.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/mime_content_type.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/ob_clean.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/ob_flush.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/ob_get_clean.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/ob_get_flush.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/php_strip_whitespace.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/pg_affected_rows.phpt";s:10:"php_compat";s:46:"php_compat/tests/function/pg_escape_bytea.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/pg_unescape_bytea.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/restore_include_path.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/scandir.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/set_include_path.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/str_ireplace.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/str_rot13.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/str_split.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/str_shuffle.phpt";s:10:"php_compat";s:45:"php_compat/tests/function/str_word_count.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/stripos.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/strpbrk.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/strripos.phpt";s:10:"php_compat";s:45:"php_compat/tests/function/substr_compare.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/time_sleep_until.phpt";s:10:"php_compat";s:41:"php_compat/tests/function/var_export.phpt";s:10:"php_compat";s:46:"php_compat/tests/function/version_compare.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/vprintf.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/vsprintf.phpt";s:10:"php_compat";s:32:"file_archive/File/tests/test.php";s:12:"file_archive";}} \ No newline at end of file +a:5:{s:3:"php";a:234:{s:18:"Console/Getopt.php";s:14:"console_getopt";s:15:"Archive/Tar.php";s:11:"archive_tar";s:12:"OS/Guess.php";s:4:"pear";s:27:"PEAR/ChannelFile/Parser.php";s:4:"pear";s:21:"PEAR/Command/Auth.xml";s:4:"pear";s:21:"PEAR/Command/Auth.php";s:4:"pear";s:22:"PEAR/Command/Build.xml";s:4:"pear";s:22:"PEAR/Command/Build.php";s:4:"pear";s:25:"PEAR/Command/Channels.xml";s:4:"pear";s:25:"PEAR/Command/Channels.php";s:4:"pear";s:23:"PEAR/Command/Common.php";s:4:"pear";s:23:"PEAR/Command/Config.xml";s:4:"pear";s:23:"PEAR/Command/Config.php";s:4:"pear";s:24:"PEAR/Command/Install.xml";s:4:"pear";s:24:"PEAR/Command/Install.php";s:4:"pear";s:23:"PEAR/Command/Mirror.xml";s:4:"pear";s:23:"PEAR/Command/Mirror.php";s:4:"pear";s:24:"PEAR/Command/Package.xml";s:4:"pear";s:24:"PEAR/Command/Package.php";s:4:"pear";s:23:"PEAR/Command/Pickle.xml";s:4:"pear";s:23:"PEAR/Command/Pickle.php";s:4:"pear";s:25:"PEAR/Command/Registry.xml";s:4:"pear";s:25:"PEAR/Command/Registry.php";s:4:"pear";s:23:"PEAR/Command/Remote.xml";s:4:"pear";s:23:"PEAR/Command/Remote.php";s:4:"pear";s:21:"PEAR/Command/Test.xml";s:4:"pear";s:21:"PEAR/Command/Test.php";s:4:"pear";s:27:"PEAR/Downloader/Package.php";s:4:"pear";s:21:"PEAR/Frontend/CLI.php";s:4:"pear";s:30:"PEAR/Installer/Role/Common.php";s:4:"pear";s:28:"PEAR/Installer/Role/Data.xml";s:4:"pear";s:28:"PEAR/Installer/Role/Data.php";s:4:"pear";s:27:"PEAR/Installer/Role/Doc.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Doc.php";s:4:"pear";s:27:"PEAR/Installer/Role/Ext.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Ext.php";s:4:"pear";s:27:"PEAR/Installer/Role/Php.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Php.php";s:4:"pear";s:30:"PEAR/Installer/Role/Script.xml";s:4:"pear";s:30:"PEAR/Installer/Role/Script.php";s:4:"pear";s:27:"PEAR/Installer/Role/Src.xml";s:4:"pear";s:27:"PEAR/Installer/Role/Src.php";s:4:"pear";s:28:"PEAR/Installer/Role/Test.xml";s:4:"pear";s:28:"PEAR/Installer/Role/Test.php";s:4:"pear";s:23:"PEAR/Installer/Role.php";s:4:"pear";s:33:"PEAR/PackageFile/Generator/v1.php";s:4:"pear";s:33:"PEAR/PackageFile/Generator/v2.php";s:4:"pear";s:30:"PEAR/PackageFile/Parser/v1.php";s:4:"pear";s:30:"PEAR/PackageFile/Parser/v2.php";s:4:"pear";s:26:"PEAR/PackageFile/v2/rw.php";s:4:"pear";s:33:"PEAR/PackageFile/v2/Validator.php";s:4:"pear";s:23:"PEAR/PackageFile/v1.php";s:4:"pear";s:23:"PEAR/PackageFile/v2.php";s:4:"pear";s:16:"PEAR/REST/10.php";s:4:"pear";s:16:"PEAR/REST/11.php";s:4:"pear";s:34:"PEAR/Task/Postinstallscript/rw.php";s:4:"pear";s:24:"PEAR/Task/Replace/rw.php";s:4:"pear";s:24:"PEAR/Task/Unixeol/rw.php";s:4:"pear";s:27:"PEAR/Task/Windowseol/rw.php";s:4:"pear";s:20:"PEAR/Task/Common.php";s:4:"pear";s:31:"PEAR/Task/Postinstallscript.php";s:4:"pear";s:21:"PEAR/Task/Replace.php";s:4:"pear";s:21:"PEAR/Task/Unixeol.php";s:4:"pear";s:24:"PEAR/Task/Windowseol.php";s:4:"pear";s:23:"PEAR/Validator/PECL.php";s:4:"pear";s:19:"PEAR/Autoloader.php";s:4:"pear";s:16:"PEAR/Builder.php";s:4:"pear";s:20:"PEAR/ChannelFile.php";s:4:"pear";s:16:"PEAR/Command.php";s:4:"pear";s:15:"PEAR/Common.php";s:4:"pear";s:15:"PEAR/Config.php";s:4:"pear";s:19:"PEAR/Dependency.php";s:4:"pear";s:21:"PEAR/DependencyDB.php";s:4:"pear";s:20:"PEAR/Dependency2.php";s:4:"pear";s:19:"PEAR/Downloader.php";s:4:"pear";s:19:"PEAR/ErrorStack.php";s:4:"pear";s:18:"PEAR/Exception.php";s:4:"pear";s:17:"PEAR/Frontend.php";s:4:"pear";s:18:"PEAR/Installer.php";s:4:"pear";s:20:"PEAR/PackageFile.php";s:4:"pear";s:17:"PEAR/Packager.php";s:4:"pear";s:17:"PEAR/Registry.php";s:4:"pear";s:15:"PEAR/Remote.php";s:4:"pear";s:13:"PEAR/REST.php";s:4:"pear";s:16:"PEAR/RunTest.php";s:4:"pear";s:17:"PEAR/Validate.php";s:4:"pear";s:18:"PEAR/XMLParser.php";s:4:"pear";s:19:"scripts/pearcmd.php";s:4:"pear";s:19:"scripts/peclcmd.php";s:4:"pear";s:8:"PEAR.php";s:4:"pear";s:10:"System.php";s:4:"pear";s:11:"Net/URL.php";s:7:"net_url";s:14:"Net/Socket.php";s:10:"net_socket";s:13:"MIME/Type.php";s:9:"mime_type";s:23:"MIME/Type/Parameter.php";s:9:"mime_type";s:26:"docs/MIME_Type/example.php";s:9:"mime_type";s:14:"PHP/Compat.php";s:10:"php_compat";s:25:"PHP/Compat/Components.php";s:10:"php_compat";s:43:"PHP/Compat/Constant/DIRECTORY_SEPARATOR.php";s:10:"php_compat";s:32:"PHP/Compat/Constant/E_STRICT.php";s:10:"php_compat";s:38:"PHP/Compat/Constant/PATH_SEPARATOR.php";s:10:"php_compat";s:27:"PHP/Compat/Constant/STD.php";s:10:"php_compat";s:28:"PHP/Compat/Constant/FILE.php";s:10:"php_compat";s:31:"PHP/Compat/Constant/PHP_EOL.php";s:10:"php_compat";s:34:"PHP/Compat/Constant/UPLOAD_ERR.php";s:10:"php_compat";s:25:"PHP/Compat/Constant/T.php";s:10:"php_compat";s:45:"PHP/Compat/Function/array_change_key_case.php";s:10:"php_compat";s:35:"PHP/Compat/Function/array_chunk.php";s:10:"php_compat";s:37:"PHP/Compat/Function/array_combine.php";s:10:"php_compat";s:40:"PHP/Compat/Function/array_diff_assoc.php";s:10:"php_compat";s:38:"PHP/Compat/Function/array_diff_key.php";s:10:"php_compat";s:41:"PHP/Compat/Function/array_diff_uassoc.php";s:10:"php_compat";s:39:"PHP/Compat/Function/array_diff_ukey.php";s:10:"php_compat";s:45:"PHP/Compat/Function/array_intersect_assoc.php";s:10:"php_compat";s:43:"PHP/Compat/Function/array_intersect_key.php";s:10:"php_compat";s:46:"PHP/Compat/Function/array_intersect_uassoc.php";s:10:"php_compat";s:44:"PHP/Compat/Function/array_intersect_ukey.php";s:10:"php_compat";s:40:"PHP/Compat/Function/array_key_exists.php";s:10:"php_compat";s:37:"PHP/Compat/Function/array_product.php";s:10:"php_compat";s:36:"PHP/Compat/Function/array_search.php";s:10:"php_compat";s:35:"PHP/Compat/Function/array_udiff.php";s:10:"php_compat";s:41:"PHP/Compat/Function/array_udiff_assoc.php";s:10:"php_compat";s:42:"PHP/Compat/Function/array_udiff_uassoc.php";s:10:"php_compat";s:40:"PHP/Compat/Function/array_uintersect.php";s:10:"php_compat";s:46:"PHP/Compat/Function/array_uintersect_assoc.php";s:10:"php_compat";s:47:"PHP/Compat/Function/array_uintersect_uassoc.php";s:10:"php_compat";s:44:"PHP/Compat/Function/array_walk_recursive.php";s:10:"php_compat";s:32:"PHP/Compat/Function/bcinvert.php";s:10:"php_compat";s:32:"PHP/Compat/Function/bcpowmod.php";s:10:"php_compat";s:44:"PHP/Compat/Function/call_user_func_array.php";s:10:"php_compat";s:29:"PHP/Compat/Function/clone.php";s:10:"php_compat";s:32:"PHP/Compat/Function/constant.php";s:10:"php_compat";s:40:"PHP/Compat/Function/convert_uuencode.php";s:10:"php_compat";s:40:"PHP/Compat/Function/convert_uudecode.php";s:10:"php_compat";s:45:"PHP/Compat/Function/debug_print_backtrace.php";s:10:"php_compat";s:41:"PHP/Compat/Function/file_get_contents.php";s:10:"php_compat";s:41:"PHP/Compat/Function/file_put_contents.php";s:10:"php_compat";s:32:"PHP/Compat/Function/floatval.php";s:10:"php_compat";s:31:"PHP/Compat/Function/fprintf.php";s:10:"php_compat";s:31:"PHP/Compat/Function/fputcsv.php";s:10:"php_compat";s:35:"PHP/Compat/Function/get_headers.php";s:10:"php_compat";s:40:"PHP/Compat/Function/get_include_path.php";s:10:"php_compat";s:42:"PHP/Compat/Function/html_entity_decode.php";s:10:"php_compat";s:47:"PHP/Compat/Function/htmlspecialchars_decode.php";s:10:"php_compat";s:40:"PHP/Compat/Function/http_build_query.php";s:10:"php_compat";s:37:"PHP/Compat/Function/ibase_timefmt.php";s:10:"php_compat";s:29:"PHP/Compat/Function/idate.php";s:10:"php_compat";s:47:"PHP/Compat/Function/image_type_to_mime_type.php";s:10:"php_compat";s:33:"PHP/Compat/Function/inet_ntop.php";s:10:"php_compat";s:33:"PHP/Compat/Function/inet_pton.php";s:10:"php_compat";s:35:"PHP/Compat/Function/ini_get_all.php";s:10:"php_compat";s:28:"PHP/Compat/Function/is_a.php";s:10:"php_compat";s:32:"PHP/Compat/Function/md5_file.php";s:10:"php_compat";s:29:"PHP/Compat/Function/mhash.php";s:10:"php_compat";s:41:"PHP/Compat/Function/mime_content_type.php";s:10:"php_compat";s:32:"PHP/Compat/Function/ob_clean.php";s:10:"php_compat";s:32:"PHP/Compat/Function/ob_flush.php";s:10:"php_compat";s:36:"PHP/Compat/Function/ob_get_clean.php";s:10:"php_compat";s:36:"PHP/Compat/Function/ob_get_flush.php";s:10:"php_compat";s:44:"PHP/Compat/Function/php_strip_whitespace.php";s:10:"php_compat";s:40:"PHP/Compat/Function/pg_affected_rows.php";s:10:"php_compat";s:39:"PHP/Compat/Function/pg_escape_bytea.php";s:10:"php_compat";s:41:"PHP/Compat/Function/pg_unescape_bytea.php";s:10:"php_compat";s:44:"PHP/Compat/Function/restore_include_path.php";s:10:"php_compat";s:31:"PHP/Compat/Function/scandir.php";s:10:"php_compat";s:40:"PHP/Compat/Function/set_include_path.php";s:10:"php_compat";s:36:"PHP/Compat/Function/str_ireplace.php";s:10:"php_compat";s:33:"PHP/Compat/Function/str_rot13.php";s:10:"php_compat";s:33:"PHP/Compat/Function/str_split.php";s:10:"php_compat";s:35:"PHP/Compat/Function/str_shuffle.php";s:10:"php_compat";s:38:"PHP/Compat/Function/str_word_count.php";s:10:"php_compat";s:31:"PHP/Compat/Function/stripos.php";s:10:"php_compat";s:31:"PHP/Compat/Function/strpbrk.php";s:10:"php_compat";s:32:"PHP/Compat/Function/strripos.php";s:10:"php_compat";s:38:"PHP/Compat/Function/substr_compare.php";s:10:"php_compat";s:40:"PHP/Compat/Function/time_sleep_until.php";s:10:"php_compat";s:34:"PHP/Compat/Function/var_export.php";s:10:"php_compat";s:39:"PHP/Compat/Function/version_compare.php";s:10:"php_compat";s:31:"PHP/Compat/Function/vprintf.php";s:10:"php_compat";s:32:"PHP/Compat/Function/vsprintf.php";s:10:"php_compat";s:16:"File/Archive.php";s:12:"file_archive";s:26:"File/Archive/Predicate.php";s:12:"file_archive";s:23:"File/Archive/Reader.php";s:12:"file_archive";s:23:"File/Archive/Writer.php";s:12:"file_archive";s:30:"File/Archive/Predicate/And.php";s:12:"file_archive";s:34:"File/Archive/Predicate/Current.php";s:12:"file_archive";s:33:"File/Archive/Predicate/Custom.php";s:12:"file_archive";s:36:"File/Archive/Predicate/Duplicate.php";s:12:"file_archive";s:31:"File/Archive/Predicate/Ereg.php";s:12:"file_archive";s:32:"File/Archive/Predicate/Eregi.php";s:12:"file_archive";s:36:"File/Archive/Predicate/Extension.php";s:12:"file_archive";s:32:"File/Archive/Predicate/False.php";s:12:"file_archive";s:32:"File/Archive/Predicate/Index.php";s:12:"file_archive";s:35:"File/Archive/Predicate/MaxDepth.php";s:12:"file_archive";s:31:"File/Archive/Predicate/MIME.php";s:12:"file_archive";s:34:"File/Archive/Predicate/MinSize.php";s:12:"file_archive";s:34:"File/Archive/Predicate/MinTime.php";s:12:"file_archive";s:30:"File/Archive/Predicate/Not.php";s:12:"file_archive";s:29:"File/Archive/Predicate/Or.php";s:12:"file_archive";s:31:"File/Archive/Predicate/True.php";s:12:"file_archive";s:26:"File/Archive/Reader/Ar.php";s:12:"file_archive";s:31:"File/Archive/Reader/Archive.php";s:12:"file_archive";s:29:"File/Archive/Reader/Bzip2.php";s:12:"file_archive";s:29:"File/Archive/Reader/Cache.php";s:12:"file_archive";s:34:"File/Archive/Reader/ChangeName.php";s:12:"file_archive";s:30:"File/Archive/Reader/Concat.php";s:12:"file_archive";s:33:"File/Archive/Reader/Directory.php";s:12:"file_archive";s:28:"File/Archive/Reader/File.php";s:12:"file_archive";s:30:"File/Archive/Reader/Filter.php";s:12:"file_archive";s:28:"File/Archive/Reader/Gzip.php";s:12:"file_archive";s:30:"File/Archive/Reader/Memory.php";s:12:"file_archive";s:32:"File/Archive/Reader/MimeList.php";s:12:"file_archive";s:29:"File/Archive/Reader/Multi.php";s:12:"file_archive";s:29:"File/Archive/Reader/Relay.php";s:12:"file_archive";s:30:"File/Archive/Reader/Select.php";s:12:"file_archive";s:27:"File/Archive/Reader/Tar.php";s:12:"file_archive";s:34:"File/Archive/Reader/Uncompress.php";s:12:"file_archive";s:27:"File/Archive/Reader/Zip.php";s:12:"file_archive";s:35:"File/Archive/Writer/AddBaseName.php";s:12:"file_archive";s:26:"File/Archive/Writer/Ar.php";s:12:"file_archive";s:31:"File/Archive/Writer/Archive.php";s:12:"file_archive";s:29:"File/Archive/Writer/Bzip2.php";s:12:"file_archive";s:29:"File/Archive/Writer/Files.php";s:12:"file_archive";s:28:"File/Archive/Writer/Gzip.php";s:12:"file_archive";s:28:"File/Archive/Writer/Mail.php";s:12:"file_archive";s:30:"File/Archive/Writer/Memory.php";s:12:"file_archive";s:37:"File/Archive/Writer/MemoryArchive.php";s:12:"file_archive";s:29:"File/Archive/Writer/Multi.php";s:12:"file_archive";s:30:"File/Archive/Writer/Output.php";s:12:"file_archive";s:27:"File/Archive/Writer/Tar.php";s:12:"file_archive";s:38:"File/Archive/Writer/UniqueAppender.php";s:12:"file_archive";s:27:"File/Archive/Writer/Zip.php";s:12:"file_archive";s:16:"HTTP/Request.php";s:12:"http_request";s:25:"HTTP/Request/Listener.php";s:12:"http_request";}s:3:"doc";a:5:{s:32:"archive_tar/docs/Archive_Tar.txt";s:11:"archive_tar";s:24:"net_url/docs/example.php";s:7:"net_url";s:32:"file_archive/File/doc/readme.txt";s:12:"file_archive";s:29:"http_request/docs/example.php";s:12:"http_request";s:39:"http_request/docs/download-progress.php";s:12:"http_request";}s:6:"script";a:3:{s:15:"scripts/pear.sh";s:4:"pear";s:18:"scripts/peardev.sh";s:4:"pear";s:15:"scripts/pecl.sh";s:4:"pear";}s:4:"data";a:2:{s:16:"pear/package.dtd";s:4:"pear";s:18:"pear/template.spec";s:4:"pear";}s:4:"test";a:87:{s:34:"php_compat/tests/loadconstant.phpt";s:10:"php_compat";s:34:"php_compat/tests/loadfunction.phpt";s:10:"php_compat";s:33:"php_compat/tests/loadversion.phpt";s:10:"php_compat";s:50:"php_compat/tests/constant/directory_separator.phpt";s:10:"php_compat";s:39:"php_compat/tests/constant/e_strict.phpt";s:10:"php_compat";s:35:"php_compat/tests/constant/file.phpt";s:10:"php_compat";s:45:"php_compat/tests/constant/path_separator.phpt";s:10:"php_compat";s:34:"php_compat/tests/constant/std.phpt";s:10:"php_compat";s:38:"php_compat/tests/constant/php_eol.phpt";s:10:"php_compat";s:41:"php_compat/tests/constant/upload_err.phpt";s:10:"php_compat";s:32:"php_compat/tests/constant/t.phpt";s:10:"php_compat";s:52:"php_compat/tests/function/array_change_key_case.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/array_chunk.phpt";s:10:"php_compat";s:44:"php_compat/tests/function/array_combine.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/array_diff_assoc.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/array_diff_uassoc.phpt";s:10:"php_compat";s:45:"php_compat/tests/function/array_diff_key.phpt";s:10:"php_compat";s:46:"php_compat/tests/function/array_diff_ukey.phpt";s:10:"php_compat";s:52:"php_compat/tests/function/array_intersect_assoc.phpt";s:10:"php_compat";s:50:"php_compat/tests/function/array_intersect_key.phpt";s:10:"php_compat";s:53:"php_compat/tests/function/array_intersect_uassoc.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/array_intersect_ukey.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/array_key_exists.phpt";s:10:"php_compat";s:44:"php_compat/tests/function/array_product.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/array_search.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/array_udiff.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/array_udiff_assoc.phpt";s:10:"php_compat";s:49:"php_compat/tests/function/array_udiff_uassoc.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/array_uintersect.phpt";s:10:"php_compat";s:53:"php_compat/tests/function/array_uintersect_assoc.phpt";s:10:"php_compat";s:54:"php_compat/tests/function/array_uintersect_uassoc.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/array_walk_recursive.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/bcinvert.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/bcpowmod.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/call_user_func_array.phpt";s:10:"php_compat";s:36:"php_compat/tests/function/clone.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/constant.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/convert_uuencode.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/convert_uudecode.phpt";s:10:"php_compat";s:52:"php_compat/tests/function/debug_print_backtrace.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/file_get_contents.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/file_put_contents.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/floatval.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/fprintf.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/fputcsv.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/get_headers.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/get_include_path.phpt";s:10:"php_compat";s:49:"php_compat/tests/function/html_entity_decode.phpt";s:10:"php_compat";s:54:"php_compat/tests/function/htmlspecialchars_decode.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/http_build_query.phpt";s:10:"php_compat";s:44:"php_compat/tests/function/ibase_timefmt.phpt";s:10:"php_compat";s:36:"php_compat/tests/function/idate.phpt";s:10:"php_compat";s:54:"php_compat/tests/function/image_type_to_mime_type.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/inet_ntop.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/inet_pton.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/ini_get_all.phpt";s:10:"php_compat";s:35:"php_compat/tests/function/is_a.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/is_scalar.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/md5_file.phpt";s:10:"php_compat";s:36:"php_compat/tests/function/mhash.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/mime_content_type.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/ob_clean.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/ob_flush.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/ob_get_clean.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/ob_get_flush.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/php_strip_whitespace.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/pg_affected_rows.phpt";s:10:"php_compat";s:46:"php_compat/tests/function/pg_escape_bytea.phpt";s:10:"php_compat";s:48:"php_compat/tests/function/pg_unescape_bytea.phpt";s:10:"php_compat";s:51:"php_compat/tests/function/restore_include_path.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/scandir.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/set_include_path.phpt";s:10:"php_compat";s:43:"php_compat/tests/function/str_ireplace.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/str_rot13.phpt";s:10:"php_compat";s:40:"php_compat/tests/function/str_split.phpt";s:10:"php_compat";s:42:"php_compat/tests/function/str_shuffle.phpt";s:10:"php_compat";s:45:"php_compat/tests/function/str_word_count.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/stripos.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/strpbrk.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/strripos.phpt";s:10:"php_compat";s:45:"php_compat/tests/function/substr_compare.phpt";s:10:"php_compat";s:47:"php_compat/tests/function/time_sleep_until.phpt";s:10:"php_compat";s:41:"php_compat/tests/function/var_export.phpt";s:10:"php_compat";s:46:"php_compat/tests/function/version_compare.phpt";s:10:"php_compat";s:38:"php_compat/tests/function/vprintf.phpt";s:10:"php_compat";s:39:"php_compat/tests/function/vsprintf.phpt";s:10:"php_compat";s:32:"file_archive/File/tests/test.php";s:12:"file_archive";}} \ No newline at end of file Added: trunk/contrib/pfcInstaller2/HTTP/Request/Listener.php =================================================================== --- trunk/contrib/pfcInstaller2/HTTP/Request/Listener.php (rev 0) +++ trunk/contrib/pfcInstaller2/HTTP/Request/Listener.php 2006-08-28 21:05:14 UTC (rev 710) @@ -0,0 +1,96 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Copyright (c) 2002-2003, Richard Heyes | +// | All rights reserved. | +// | | +// | Redistribution and use in source and binary forms, with or without | +// | modification, are permitted provided that the following conditions | +// | are met: | +// | | +// | o Redistributions of source code must retain the above copyright | +// | notice, this list of conditions and the following disclaimer. | +// | o Redistributions in binary form must reproduce the above copyright | +// | notice, this list of conditions and the following disclaimer in the | +// | documentation and/or other materials provided with the distribution.| +// | o The names of the authors may not be used to endorse or promote | +// | products derived from this software without specific prior written | +// | permission. | +// | | +// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | +// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | +// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | +// | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | +// | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | +// | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | +// | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | +// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | +// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | +// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | +// | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | +// | | +// +-----------------------------------------------------------------------+ +// | Author: Alexey Borzov <av...@ph...> | +// +-----------------------------------------------------------------------+ +// +// $Id: Listener.php,v 1.2 2003/10/26 10:28:29 avb Exp $ +// + +/** + * This class implements the Observer part of a Subject-Observer + * design pattern. It listens to the events sent by a + * HTTP_Request or HTTP_Response instance. + * + * @package HTTP_Request + * @author Alexey Borzov <av...@ph...> + * @version $Revision: 1.2 $ + */ +class HTTP_Request_Listener +{ + /** + * A listener's identifier + * @var string + */ + var $_id; + + /** + * Constructor, sets the object's identifier + * + * @access public + */ + function HTTP_Request_Listener() + { + $this->_id = md5(uniqid('http_request_', 1)); + } + + + /** + * Returns the listener's identifier + * + * @access public + * @return string + */ + function getId() + { + return $this->_id; + } + + + /** + * This method is called when Listener is notified of an event + * + * @access public + * @param object an object the listener is attached to + * @param string Event name + * @param mixed Additional data + * @abstract + */ + function update(&$subject, $event, $data = null) + { + echo "Notified of event: '$event'\n"; + if (null !== $data) { + echo "Additional data: "; + var_dump($data); + } + } +} +?> Added: trunk/contrib/pfcInstaller2/HTTP/Request.php =================================================================== --- trunk/contrib/pfcInstaller2/HTTP/Request.php (rev 0) +++ trunk/contrib/pfcInstaller2/HTTP/Request.php 2006-08-28 21:05:14 UTC (rev 710) @@ -0,0 +1,1191 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Copyright (c) 2002-2003, Richard Heyes | +// | All rights reserved. | +// | | +// | Redistribution and use in source and binary forms, with or without | +// | modification, are permitted provided that the following conditions | +// | are met: | +// | | +// | o Redistributions of source code must retain the above copyright | +// | notice, this list of conditions and the following disclaimer. | +// | o Redistributions in binary form must reproduce the above copyright | +// | notice, this list of conditions and the following disclaimer in the | +// | documentation and/or other materials provided with the distribution.| +// | o The names of the authors may not be used to endorse or promote | +// | products derived from this software without specific prior written | +// | permission. | +// | | +// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | +// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | +// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | +// | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | +// | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | +// | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | +// | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | +// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | +// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | +// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | +// | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | +// | | +// +-----------------------------------------------------------------------+ +// | Author: Richard Heyes <ri...@ph...> | +// +-----------------------------------------------------------------------+ +// +// $Id: Request.php,v 1.43 2005/11/06 18:29:14 avb Exp $ +// +// HTTP_Request Class +// +// Simple example, (Fetches yahoo.com and displays it): +// +// $a = &new HTTP_Request('http://www.yahoo.com/'); +// $a->sendRequest(); +// echo $a->getResponseBody(); +// + +require_once 'PEAR.php'; +require_once 'Net/Socket.php'; +require_once 'Net/URL.php'; + +define('HTTP_REQUEST_METHOD_GET', 'GET', true); +define('HTTP_REQUEST_METHOD_HEAD', 'HEAD', true); +define('HTTP_REQUEST_METHOD_POST', 'POST', true); +define('HTTP_REQUEST_METHOD_PUT', 'PUT', true); +define('HTTP_REQUEST_METHOD_DELETE', 'DELETE', true); +define('HTTP_REQUEST_METHOD_OPTIONS', 'OPTIONS', true); +define('HTTP_REQUEST_METHOD_TRACE', 'TRACE', true); + +define('HTTP_REQUEST_HTTP_VER_1_0', '1.0', true); +define('HTTP_REQUEST_HTTP_VER_1_1', '1.1', true); + +class HTTP_Request { + + /** + * Instance of Net_URL + * @var object Net_URL + */ + var $_url; + + /** + * Type of request + * @var string + */ + var $_method; + + /** + * HTTP Version + * @var string + */ + var $_http; + + /** + * Request headers + * @var array + */ + var $_requestHeaders; + + /** + * Basic Auth Username + * @var string + */ + var $_user; + + /** + * Basic Auth Password + * @var string + */ + var $_pass; + + /** + * Socket object + * @var object Net_Socket + */ + var $_sock; + + /** + * Proxy server + * @var string + */ + var $_proxy_host; + + /** + * Proxy port + * @var integer + */ + var $_proxy_port; + + /** + * Proxy username + * @var string + */ + var $_proxy_user; + + /** + * Proxy password + * @var string + */ + var $_proxy_pass; + + /** + * Post data + * @var array + */ + var $_postData; + + /** + * Request body + * @var string + */ + var $_body; + + /** + * A list of methods that MUST NOT have a request body, per RFC 2616 + * @var array + */ + var $_bodyDisallowed = array('TRACE'); + + /** + * Files to post + * @var array + */ + var $_postFiles = array(); + + /** + * Connection timeout. + * @var float + */ + var $_timeout; + + /** + * HTTP_Response object + * @var object HTTP_Response + */ + var $_response; + + /** + * Whether to allow redirects + * @var boolean + */ + var $_allowRedirects; + + /** + * Maximum redirects allowed + * @var integer + */ + var $_maxRedirects; + + /** + * Current number of redirects + * @var integer + */ + var $_redirects; + + /** + * Whether to append brackets [] to array variables + * @var bool + */ + var $_useBrackets = true; + + /** + * Attached listeners + * @var array + */ + var $_listeners = array(); + + /** + * Whether to save response body in response object property + * @var bool + */ + var $_saveBody = true; + + /** + * Timeout for reading from socket (array(seconds, microseconds)) + * @var array + */ + var $_readTimeout = null; + + /** + * Options to pass to Net_Socket::connect. See stream_context_create + * @var array + */ + var $_socketOptions = null; + + /** + * Constructor + * + * Sets up the object + * @param string The url to fetch/access + * @param array Associative array of parameters which can have the following keys: + * <ul> + * <li>method - Method to use, GET, POST etc (string)</li> + * <li>http - HTTP Version to use, 1.0 or 1.1 (string)</li> + * <li>user - Basic Auth username (string)</li> + * <li>pass - Basic Auth password (string)</li> + * <li>proxy_host - Proxy server host (string)</li> + * <li>proxy_port - Proxy server port (integer)</li> + * <li>proxy_user - Proxy auth username (string)</li> + * <li>proxy_pass - Proxy auth password (string)</li> + * <li>timeout - Connection timeout in seconds (float)</li> + * <li>allowRedirects - Whether to follow redirects or not (bool)</li> + * <li>maxRedirects - Max number of redirects to follow (integer)</li> + * <li>useBrackets - Whether to append [] to array variable names (bool)</li> + * <li>saveBody - Whether to save response body in response object property (bool)</li> + * <li>readTimeout - Timeout for reading / writing data over the socket (array (seconds, microseconds))</li> + * <li>socketOptions - Options to pass to Net_Socket object (array)</li> + * </ul> + * @access public + */ + function HTTP_Request($url = '', $params = array()) + { + $this->_sock = &new Net_Socket(); + $this->_method = HTTP_REQUEST_METHOD_GET; + $this->_http = HTTP_REQUEST_HTTP_VER_1_1; + $this->_requestHeaders = array(); + $this->_postData = array(); + $this->_body = null; + + $this->_user = null; + $this->_pass = null; + + $this->_proxy_host = null; + $this->_proxy_port = null; + $this->_proxy_user = null; + $this->_proxy_pass = null; + + $this->_allowRedirects = false; + $this->_maxRedirects = 3; + $this->_redirects = 0; + + $this->_timeout = null; + $this->_response = null; + + foreach ($params as $key => $value) { + $this->{'_' . $key} = $value; + } + + if (!empty($url)) { + $this->setURL($url); + } + + // Default useragent + $this->addHeader('User-Agent', 'PEAR HTTP_Request class ( http://pear.php.net/ )'); + + // Make sure keepalives dont knobble us + $this->addHeader('Connection', 'close'); + + // Basic authentication + if (!empty($this->_user)) { + $this->addHeader('Authorization', 'Basic ' . base64_encode($this->_user . ':' . $this->_pass)); + } + + // Use gzip encoding if possible + // Avoid gzip encoding if using multibyte functions (see #1781) + if (HTTP_REQUEST_HTTP_VER_1_1 == $this->_http && extension_loaded('zlib') && + 0 == (2 & ini_get('mbstring.func_overload'))) { + + $this->addHeader('Accept-Encoding', 'gzip'); + } + } + + /** + * Generates a Host header for HTTP/1.1 requests + * + * @access private + * @return string + */ + function _generateHostHeader() + { + if ($this->_url->port != 80 AND strcasecmp($this->_url->protocol, 'http') == 0) { + ... [truncated message content] |