summaryrefslogtreecommitdiff
path: root/ext/standard/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/url.h')
-rw-r--r--ext/standard/url.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/ext/standard/url.h b/ext/standard/url.h
index b2b3b0c73..7dd48cad8 100644
--- a/ext/standard/url.h
+++ b/ext/standard/url.h
@@ -2,12 +2,12 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
- | Copyright (c) 1997-2005 The PHP Group |
+ | Copyright (c) 1997-2006 The PHP Group |
+----------------------------------------------------------------------+
- | This source file is subject to version 3.0 of the PHP license, |
+ | This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
- | http://www.php.net/license/3_0.txt. |
+ | http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
@@ -15,7 +15,7 @@
| Author: Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: url.h,v 1.20 2005/08/03 14:08:14 sniper Exp $ */
+/* $Id: url.h,v 1.20.2.2 2006/01/01 12:50:15 sniper Exp $ */
#ifndef URL_H
#define URL_H
@@ -46,6 +46,15 @@ PHP_FUNCTION(rawurlencode);
PHP_FUNCTION(rawurldecode);
PHP_FUNCTION(get_headers);
+#define PHP_URL_SCHEME 0
+#define PHP_URL_HOST 1
+#define PHP_URL_PORT 2
+#define PHP_URL_USER 3
+#define PHP_URL_PASS 4
+#define PHP_URL_PATH 5
+#define PHP_URL_QUERY 6
+#define PHP_URL_FRAGMENT 7
+
#endif /* URL_H */
/*