01-18-2006
Please search before posting. This has been answered numerous times. See
this particular FAQ topic.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
as part of my course i have to do a lot of programming using the universities unix server. i am able to access this from home using telnet but i cannot use axe or anything to edit my files. I was wondering if anyone knew of any software that could enable me yo do this as i like working at 2am when... (1 Reply)
Discussion started by: HALLY
1 Replies
2. UNIX for Dummies Questions & Answers
i have no clue what I am doing with the ed editor since i have never really used it.. the only thing is the sed edittor on the unix emulator I downloaded for windows is rather simple and the man pages are very vague... it doesn't function according to most linux operating systems that envoke sed..... (4 Replies)
Discussion started by: moxxx68
4 Replies
3. UNIX for Advanced & Expert Users
Hi all:
I have windows XP and i want to learn UNIX SHELL PROGRAMMING! can you tell me any unix shell emulator or simulator which i can install on windows and learn unix shell programming (FOR SOME REASON I DONT WANT TO INSTALL LINUX)!!!
PLEASE HELP!
CHEERS (2 Replies)
Discussion started by: ravirajindia
2 Replies
4. UNIX for Dummies Questions & Answers
Where can I download a unix Emulator for Training and education of the IT personal in my company. (9 Replies)
Discussion started by: st_matan
9 Replies
5. UNIX for Dummies Questions & Answers
would like to have ls, wc -l, etc all availble in this silly dos shell I'm stuck in thanks! (1 Reply)
Discussion started by: robersh
1 Replies
6. UNIX for Dummies Questions & Answers
hello
i have a computer sat around doing nothing so i what to install a version of Unix on it, i then want to access the computer from my pc though my home network e.g router.
The thing is what version of unix should i use there are so many and being new to all of this some advice would be... (2 Replies)
Discussion started by: superdude
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am very new to UNIX and I wanted to know if there is any online UNIX emulator in which I can practice Korn shell scripting. I have internet access, but my machine's OS is Windows XP. I just had my UNIX fundamental class and wanted to practice some shell scripting. I am not in a position to... (1 Reply)
Discussion started by: eswasas
1 Replies
8. UNIX Desktop Questions & Answers
Dear experts!
can you please advise if there are good solutions to emulate Unix on a vista PC? I'm on windows by default, as many on my crucial applications are exclusively win-based, so rebooting each time I need UNIX functionality in a double-boot configuration is not my case.. But I do like... (1 Reply)
Discussion started by: roussine
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I installed unix emulator cygwin, it does not allow me to open vi editor.
Can anybody know if cygwin supports vi.
if not can somebody please refer a good emulator. (5 Replies)
Discussion started by: siquadri
5 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)