1 /* |
|
2 * -------------------------------------------------------------------- |
|
3 * The PHP License, version 3.01 |
|
4 * Copyright (c) 1999 - 2010 The PHP Group. All rights reserved. |
|
5 * -------------------------------------------------------------------- |
|
6 * |
|
7 * Redistribution and use in source and binary forms, with or without |
|
8 * modification, is permitted provided that the following conditions |
|
9 * are met: |
|
10 * |
|
11 * 1. Redistributions of source code must retain the above copyright |
|
12 * notice, this list of conditions and the following disclaimer. |
|
13 * |
|
14 * 2. Redistributions in binary form must reproduce the above copyright |
|
15 * notice, this list of conditions and the following disclaimer in |
|
16 * the documentation and/or other materials provided with the |
|
17 * distribution. |
|
18 * |
|
19 * 3. The name "PHP" must not be used to endorse or promote products |
|
20 * derived from this software without prior written permission. For |
|
21 * written permission, please contact [email protected]. |
|
22 * |
|
23 * 4. Products derived from this software may not be called "PHP", nor |
|
24 * may "PHP" appear in their name, without prior written permission |
|
25 * from [email protected]. You may indicate that your software works in |
|
26 * conjunction with PHP by saying "Foo for PHP" instead of calling |
|
27 * it "PHP Foo" or "phpfoo" |
|
28 * |
|
29 * 5. The PHP Group may publish revised and/or new versions of the |
|
30 * license from time to time. Each version will be given a |
|
31 * distinguishing version number. |
|
32 * Once covered code has been published under a particular version |
|
33 * of the license, you may always continue to use it under the terms |
|
34 * of that version. You may also choose to use such covered code |
|
35 * under the terms of any subsequent version of the license |
|
36 * published by the PHP Group. No one other than the PHP Group has |
|
37 * the right to modify the terms applicable to covered code created |
|
38 * under this License. |
|
39 * |
|
40 * 6. Redistributions of any form whatsoever must retain the following |
|
41 * acknowledgment: |
|
42 * "This product includes PHP software, freely available from |
|
43 * <http://www.php.net/software/>". |
|
44 * |
|
45 * THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND |
|
46 * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
|
47 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
|
48 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP |
|
49 * DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
|
50 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
|
51 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
|
52 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|
53 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
|
54 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
|
55 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
|
56 * OF THE POSSIBILITY OF SUCH DAMAGE. |
|
57 * |
|
58 * -------------------------------------------------------------------- |
|
59 * |
|
60 * This software consists of voluntary contributions made by many |
|
61 * individuals on behalf of the PHP Group. |
|
62 * |
|
63 * The PHP Group can be contacted via Email at [email protected]. |
|
64 * |
|
65 * For more information on the PHP Group and the PHP project, |
|
66 * please see <http://www.php.net>. |
|
67 * |
|
68 * PHP includes the Zend Engine, freely available at |
|
69 * <http://www.zend.com>. |
|
70 */ |
|
71 |
|
72 /* |
|
73 * +----------------------------------------------------------------------+ |
|
74 * | PHP Version 4 | |
|
75 * +----------------------------------------------------------------------+ |
|
76 * | Copyright (c) 1997-2003 The PHP Group | |
|
77 * +----------------------------------------------------------------------+ |
|
78 * | This source file is subject to version 2.02 of the PHP license, | |
|
79 * | that is bundled with this package in the file LICENSE, and is | |
|
80 * | available at through the world-wide-web at | |
|
81 * | http://www.php.net/license/2_02.txt. | |
|
82 * | If you did not receive a copy of the PHP license and are unable to | |
|
83 * | obtain it through the world-wide-web, please send a note to | |
|
84 * | [email protected] so we can mail you a copy immediately. | |
|
85 * +----------------------------------------------------------------------+ |
|
86 * | Author: Marcin Gibula <[email protected]> | |
|
87 * +----------------------------------------------------------------------+ |
|
88 * |
|
89 * |
|
90 */ |
|
91 |
|
92 /* |
|
93 * +----------------------------------------------------------------------+ |
|
94 * | PHP Version 5 | |
|
95 * +----------------------------------------------------------------------+ |
|
96 * | Copyright (c) 1997-2005 The PHP Group | |
|
97 * +----------------------------------------------------------------------+ |
|
98 * | This source file is subject to version 3.0 of the PHP license, | |
|
99 * | that is bundled with this package in the file LICENSE, and is | |
|
100 * | available through the world-wide-web at the following url: | |
|
101 * | http://www.php.net/license/3_0.txt. | |
|
102 * | If you did not receive a copy of the PHP license and are unable to | |
|
103 * | obtain it through the world-wide-web, please send a note to | |
|
104 * | [email protected] so we can mail you a copy immediately. | |
|
105 * +----------------------------------------------------------------------+ |
|
106 * | Author: Wez Furlong <[email protected]> | |
|
107 * +----------------------------------------------------------------------+ |
|
108 */ |
|
109 |
|
110 For Suhosin extension (covered under multiple licenses): |
|
111 /* |
|
112 * +----------------------------------------------------------------------+ |
|
113 * | Suhosin Version 1 | |
|
114 * +----------------------------------------------------------------------+ |
|
115 * | Copyright (c) 2006 The Hardened-PHP Project | |
|
116 * | Copyright (c) 2007 SektionEins GmbH | |
|
117 * +----------------------------------------------------------------------+ |
|
118 * | This source file is subject to version 3.01 of the PHP license, | |
|
119 * | that is bundled with this package in the file LICENSE, and is | |
|
120 * | available through the world-wide-web at the following url: | |
|
121 * | http://www.php.net/license/3_01.txt | |
|
122 * | If you did not receive a copy of the PHP license and are unable to | |
|
123 * | obtain it through the world-wide-web, please send a note to | |
|
124 * | [email protected] so we can mail you a copy immediately. | |
|
125 * +----------------------------------------------------------------------+ |
|
126 * | Author: Stefan Esser <[email protected]> | |
|
127 * +----------------------------------------------------------------------+ |
|
128 */ |
|
129 |
|
130 /* |
|
131 * +----------------------------------------------------------------------+ |
|
132 * | PHP Version 5 | |
|
133 * +----------------------------------------------------------------------+ |
|
134 * | Copyright (c) 1997-2005 The PHP Group | |
|
135 * +----------------------------------------------------------------------+ |
|
136 * | This source file is subject to version 3.0 of the PHP license, | |
|
137 * | that is bundled with this package in the file LICENSE, and is | |
|
138 * | available through the world-wide-web at the following url: | |
|
139 * | http://www.php.net/license/3_0.txt. | |
|
140 * | If you did not receive a copy of the PHP license and are unable to | |
|
141 * | obtain it through the world-wide-web, please send a note to | |
|
142 * | [email protected] so we can mail you a copy immediately. | |
|
143 * +----------------------------------------------------------------------+ |
|
144 * | Author: Wez Furlong <[email protected]> | |
|
145 * +----------------------------------------------------------------------+ |
|
146 */ |
|
147 /* |
|
148 * ---------------------------------------------------------------------------- |
|
149 * "THE BEER-WARE LICENSE" (Revision 42): |
|
150 * <[email protected]> wrote this file. As long as you retain this notice you |
|
151 * can do whatever you want with this stuff. If we meet some day, and you think |
|
152 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp |
|
153 * ---------------------------------------------------------------------------- |
|
154 * |
|
155 * from FreeBSD: crypt.c,v 1.5 1996/10/14 08:34:02 phk Exp |
|
156 * via OpenBSD: md5crypt.c,v 1.9 1997/07/23 20:58:27 kstailey Exp |
|
157 * via NetBSD: md5crypt.c,v 1.4.2.1 2002/01/22 19:31:59 he Exp |
|
158 * |
|
159 */ |
|
160 |
|
161 /* |
|
162 +----------------------------------------------------------------------+ |
|
163 | PHP Version 4 | |
|
164 +----------------------------------------------------------------------+ |
|
165 | Copyright (c) 1997-2003 The PHP Group | |
|
166 +----------------------------------------------------------------------+ |
|
167 | This source file is subject to version 2.02 of the PHP license, | |
|
168 | that is bundled with this package in the file LICENSE, and is | |
|
169 | available at through the world-wide-web at | |
|
170 | http://www.php.net/license/2_02.txt. | |
|
171 | If you did not receive a copy of the PHP license and are unable to | |
|
172 | obtain it through the world-wide-web, please send a note to | |
|
173 | [email protected] so we can mail you a copy immediately. | |
|
174 +----------------------------------------------------------------------+ |
|
175 | Author: | |
|
176 +----------------------------------------------------------------------+ |
|
177 */ |
|
178 |
|
179 /* ==================================================================== |
|
180 * Copyright (c) 1995-1998 The Apache Group. All rights reserved. |
|
181 * |
|
182 * Redistribution and use in source and binary forms, with or without |
|
183 * modification, are permitted provided that the following conditions |
|
184 * are met: |
|
185 * |
|
186 * 1. Redistributions of source code must retain the above copyright |
|
187 * notice, this list of conditions and the following disclaimer. |
|
188 * |
|
189 * 2. Redistributions in binary form must reproduce the above copyright |
|
190 * notice, this list of conditions and the following disclaimer in |
|
191 * the documentation and/or other materials provided with the |
|
192 * distribution. |
|
193 * |
|
194 * 3. All advertising materials mentioning features or use of this |
|
195 * software must display the following acknowledgment: |
|
196 * "This product includes software developed by the Apache Group |
|
197 * for use in the Apache HTTP server project (http://www.apache.org/)." |
|
198 * |
|
199 * 4. The names "Apache Server" and "Apache Group" must not be used to |
|
200 * endorse or promote products derived from this software without |
|
201 * prior written permission. |
|
202 * |
|
203 * 5. Redistributions of any form whatsoever must retain the following |
|
204 * acknowledgment: |
|
205 * "This product includes software developed by the Apache Group |
|
206 * for use in the Apache HTTP server project (http://www.apache.org/)." |
|
207 * |
|
208 * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY |
|
209 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
210 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
211 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR |
|
212 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
213 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
214 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
215 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|
216 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
|
217 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
|
218 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
|
219 * OF THE POSSIBILITY OF SUCH DAMAGE. |
|
220 * ==================================================================== |
|
221 * |
|
222 * This software consists of voluntary contributions made by many |
|
223 * individuals on behalf of the Apache Group and was originally based |
|
224 * on public domain software written at the National Center for |
|
225 * Supercomputing Applications, University of Illinois, Urbana-Champaign. |
|
226 * For more information on the Apache Group and the Apache HTTP server |
|
227 * project, please see <http://www.apache.org/>. |
|
228 * |
|
229 * This code is based on, and used with the permission of, the |
|
230 * SIO stdio-replacement strx_* functions by Panos Tsirigotis |
|
231 * <[email protected]> for xinetd. |
|
232 */ |
|
233 |
|
234 |
|