11-15-2004
This question comes up very often on these forums, which is why it is detailed in the
FAQ .
Cheers
ZB
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
1) Which versions of unix are available free or for educational purposes for PC. I see that the solaris binaries cannot be used on PC.
2) When I installed Linux RedHat, I had to make a partition in ext3 format. Will I have to do something similar for unix?
BTW, my linux red hat os will not... (5 Replies)
Discussion started by: LANSTARR.COM
5 Replies
2. UNIX for Dummies Questions & Answers
First off, I apologize for making my first post here a question that has probably been asked over a billion times... however with the ever changing nature of technology, it almost seems like yesterday's answers are no longer applicable.
Basically I am looking to start up a business and am trying... (15 Replies)
Discussion started by: Verbose Bob
15 Replies
3. UNIX for Dummies Questions & Answers
Hello Guys,
Just started with unix. I need it to keep my job. I need a free downloadable Unix simulator to use. I already have a unix material i'm reading. Any ideas.
:) (1 Reply)
Discussion started by: iwegbue3
1 Replies
4. Solaris
i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9.
Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well?
what... (2 Replies)
Discussion started by: lsy
2 Replies
5. UNIX for Dummies Questions & Answers
I used to have a free software on my computer to practice unix. Unfortunately, I had to rebuild the laptop after it was infected by a virus. Now I cannot remember the website where to download the software. Can anyone point me to a site?
Thanks! (2 Replies)
Discussion started by: Ernst
2 Replies
LEARN ABOUT PHP
http_build_url
HTTP_BUILD_URL(3) 1 HTTP_BUILD_URL(3)
http_build_url - Build a URL
SYNOPSIS
string http_build_url ([mixed $url], [mixed $parts], [int $flags = HTTP_URL_REPLACE], [array &$new_url])
DESCRIPTION
Build a URL.
The parts of the second URL will be merged into the first according to the flags argument.
PARAMETERS
o $url
- (part(s) of) a URL in form of a string or associative array like parse_url(3) returns
o $parts
- same as the first argument
o $flags
- a bitmask of binary or'ed HTTP_URL constants; HTTP_URL_REPLACE is the default
o $new_url
- if set, it will be filled with the parts of the composed url like parse_url(3) would return
RETURN VALUES
Returns the new URL as string on success or FALSE on failure.
EXAMPLES
Example #1
A http_build_url(3) example
<?php
echo http_build_url("http://user@www.example.com/pub/index.php?a=b#files",
array(
"scheme" => "ftp",
"host" => "ftp.example.com",
"path" => "files/current/",
"query" => "a=c"
),
HTTP_URL_STRIP_AUTH | HTTP_URL_JOIN_PATH | HTTP_URL_JOIN_QUERY | HTTP_URL_STRIP_FRAGMENT
);
?>
The above example will output:
ftp://ftp.example.com/pub/files/current/?a=c
SEE ALSO
parse_url(3), http_build_str(3).
PHP Documentation Group HTTP_BUILD_URL(3)