11-28-2013
Bumping up posts or double posting is not permitted in these forums.
Please read the
rules, which you agreed to when you registered, if you have not already done so.
You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future
Thank You.
The UNIX and Linux Forums.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any good resources for setting up a unix web server, I mean starting with the basics for a extremely new newbie.
Thanks Scott (1 Reply)
Discussion started by: supastar
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
Corrently we are useing winproxy to use internet. my client desktops connects to winproxy using tcpip and get the access, now we have changed windows opreating system to linux 7.1. my problem is i am able to connect internet on linux machine but now i wants all clients connect to linux... (2 Replies)
Discussion started by: twadkar
2 Replies
3. Linux
Hey, I'm running RH 7.1 and i want to beable to swap files back and from it. I've got Wu-ftpd installed and when i try to connect on my windows box with my root account it says to login so i type root and my password and it says that it's an incorrect login. I know i have to add it to a login... (4 Replies)
Discussion started by: byblyk
4 Replies
4. AIX
I've recently changed my gateway setting using SMIT. Everything went fine except that the gateway setting kept reverting back to the old one everytime I reboot the server.
I'm on AIX 5.2 running p-Series. Thanks for any info. (3 Replies)
Discussion started by: dereklow
3 Replies
5. UNIX for Advanced & Expert Users
Hi ,
i am having RedHat AS 4 in my home PC.now i want to access applications remotely i.e from office.
how can i do that.
in short i would like to make my PC as server for doing test's. while I am @ work.
I am using static IP.
leenus (1 Reply)
Discussion started by: rrs
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I recently got my first "real" job, i come from a *microsoft* world, I'm being asked to setup from scratch a database and a webserver that allows users to view/add/edit data (intranet).
I installed Ubuntu Server 7.10 which comes with LAMP (apache 2.*, mysql5.* and php 5.*)
The only... (2 Replies)
Discussion started by: elzalem
2 Replies
7. UNIX for Advanced & Expert Users
Hello All,
I am working on SuSe Linux Platform. Some times ago i got an issue with an application for which i had to update that in all desktops (SLED == SuSe Linux Desktop).
Since this time number of desktops were less then it was possible to go and update package manually. But in... (1 Reply)
Discussion started by: shirsha
1 Replies
8. Programming
how can i send an integer via message queue?
i try this, but it doesn't work, child process receive 13345943 instead of 5
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/msg.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <errno.h>
#include <unistd.h>... (2 Replies)
Discussion started by: tafazzi87
2 Replies
9. Linux
20GB space (1GB Swap),and installed Centos 5.7-x86 arch. I want to use this VPS to host 2-4 domains, all of WordPress. What I want to ask is:
1. Do I need a VPS management software before installing Webuzo (from Softaculous)? If yes, what was his name?
2. Do I need to install the software... (0 Replies)
Discussion started by: Byeron
0 Replies
10. Shell Programming and Scripting
Hi guys . I am trying to take the output of top command and mail it to myself . The code is :
echo ##############################################################
/usr/local/bin/top c n 1 b >> /export/home/top-output.txt
echo ##############################################################
... (6 Replies)
Discussion started by: Junaid Subhani
6 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)