- http_build_url() replaces http_absolute_(url|uri)/http_build_uri;
authorMichael Wallner <mike@php.net>
Sun, 18 Dec 2005 22:27:39 +0000 (22:27 +0000)
committerMichael Wallner <mike@php.net>
Sun, 18 Dec 2005 22:27:39 +0000 (22:27 +0000)
commitbf87f6e654235acb023ca052a5e71faeb2635a3f
tree0dea29ad08a7bd03eec7c17c2cda6bc83fac4d5d
parentf559a71c841e00ef7ca30bace5419c1a6bebca3f
- http_build_url() replaces http_absolute_(url|uri)/http_build_uri;

# This is most probably the final name. :)
#
# Based on a request by ilia who probably wanted to see something similar along
# the following lines to be possible:
# http_build_url(parse_url(...))
#
# It basically can still work like the removed function:
# echo http_build_url('/foo/bar', array('scheme' => 'https', 'host' => 'example.com'));
#
# The third param will be filled with an array like parse_url() of the result url would return.
18 files changed:
http.c
http_filter_api.c
http_functions.c
http_message_api.c
http_request_object.c
http_url_api.c
http_util_object.c
php_http.h
php_http_std_defs.h
php_http_url_api.h
php_http_util_object.h
tests/abs_uri_001.phpt [deleted file]
tests/abs_uri_002.phpt [deleted file]
tests/build_uri_001.phpt [deleted file]
tests/build_url_001.phpt [new file with mode: 0644]
tests/build_url_002.phpt [new file with mode: 0644]
tests/build_url_003.phpt [new file with mode: 0644]
tests/ut_HttpUtil.phpt