03-28-2002
Try to search for Multi Boot in this forum
https://www.unix.com/search.php?actio...der=descending
Or check/surf in the intrenet for any Software providing webpages which gives the utility to multiboot two or 3 OS in one time. There is some for Linux and other Unix's im sure you can find for one without using a boot disk.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all
i m working in a company ...and i have to migrate a C application running on SCO-UNIX to Red hat linux.
can anybody tell me what is the difference between C commands and shell scripting on SCO-UNIX and LINUX.
best regards
harsh (3 Replies)
Discussion started by: vickey
3 Replies
2. UNIX for Dummies Questions & Answers
I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start.
This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
Discussion started by: Mr. Nice Guy
4 Replies
3. UNIX for Dummies Questions & Answers
I was wondering if someone could tell me where I could learn everything about Unix/Linux
and I was also wondering what the differance between Unix and Linux was :confused:
Ive never used it, never seen it.. But Im interested in learning :D (3 Replies)
Discussion started by: Vallzi
3 Replies
4. UNIX for Dummies Questions & Answers
actually m interested in learning unix/linux. should i go for unix or linux and from where will i get the software for these. anyone knowing please help me. (7 Replies)
Discussion started by: sushilgroversp
7 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
New to the forum and in fact Unix.
I want/need to start learning Unix and am a bit confused as to which to start using/download...
Could someone please kindly point me in the right direction as how to get started, there seem to be so many different versions, etc... that i'm getting... (3 Replies)
Discussion started by: gavin watson
3 Replies
6. SuSE
Hi
i am new to Linux, i am trying to connect SCO Unix from SUSE LINUX Workstation but i am unable to define the terminal type.
i have also downloaded terminal softwares but function keys (f1, f2....) and some other keys are displaying code instead of working the correct function.
is there... (2 Replies)
Discussion started by: aafflatoon
2 Replies
LEARN ABOUT PHP
get_headers
GET_HEADERS(3) 1 GET_HEADERS(3)
get_headers - Fetches all the headers sent by the server in response to a HTTP request
SYNOPSIS
array get_headers (string $url, [int $format])
DESCRIPTION
get_headers(3) returns an array with the headers sent by the server in response to a HTTP request.
PARAMETERS
o $url
- The target URL.
o $format
- If the optional $format parameter is set to non-zero, get_headers(3) parses the response and sets the array's keys.
RETURN VALUES
Returns an indexed or associative array with the headers, or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.1.3 | |
| | |
| | This function now uses the default stream con- |
| | text, which can be set/changed with the |
| | stream_context_set_default(3) function. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
get_headers(3) example
<?php
$url = 'http://www.example.com';
print_r(get_headers($url));
print_r(get_headers($url, 1));
?>
The above example will output something similar to:
Array
(
[0] => HTTP/1.1 200 OK
[1] => Date: Sat, 29 May 2004 12:28:13 GMT
[2] => Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)
[3] => Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
[4] => ETag: "3f80f-1b6-3e1cb03b"
[5] => Accept-Ranges: bytes
[6] => Content-Length: 438
[7] => Connection: close
[8] => Content-Type: text/html
)
Array
(
[0] => HTTP/1.1 200 OK
[Date] => Sat, 29 May 2004 12:28:14 GMT
[Server] => Apache/1.3.27 (Unix) (Red-Hat/Linux)
[Last-Modified] => Wed, 08 Jan 2003 23:11:55 GMT
[ETag] => "3f80f-1b6-3e1cb03b"
[Accept-Ranges] => bytes
[Content-Length] => 438
[Connection] => close
[Content-Type] => text/html
)
Example #2
get_headers(3) using HEAD example
<?php
// By default get_headers uses a GET request to fetch the headers. If you
// want to send a HEAD request instead, you can do so using a stream context:
stream_context_set_default(
array(
'http' => array(
'method' => 'HEAD'
)
)
);
$headers = get_headers('http://example.com');
?>
SEE ALSO
apache_request_headers(3).
PHP Documentation Group GET_HEADERS(3)