03-30-2002
I think it's a browser problem. If you use Mozilla just problem can occur. X is very slow on linux. Windows has much faster GUI. Then again, that's just one of the posibilities.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hi all,
I have copied three .ISO files for Mandrake 8.1 from a Linux DVD onto my work LAN.
They are: Mandrake81-cd1-inst.I586.iso
Mandrake81-cd2-ext.I586.iso
Mandrake81-cd3-supp.I586.isoThey're all +650M in size and I'd like to know what I need to do in order to create the three CD's... (3 Replies)
Discussion started by: Cameron
3 Replies
2. UNIX for Dummies Questions & Answers
I have problems. I have to use Mandrake 7.0 for a college course and I have it installed and I can do all the command line stuff, but I want to get to the GUI. Problem is, I can't start X.
SO, after doing some searching on google, I downloaded XFree86 4.0.1 and the latest driver for my video... (2 Replies)
Discussion started by: ober5861
2 Replies
3. UNIX for Dummies Questions & Answers
can i run mac os X stuff in mandrake? on a intel computer? (1 Reply)
Discussion started by: amicrawler
1 Replies
4. UNIX for Dummies Questions & Answers
I read the old posts about dual booting windows and linux, and I just wanted to clarify something: If I buy the mandrake version of linux, will that by itself partition the hard drive, or do I still have to get a copy of partition magic? If the mandrake version can do it, is it an easy process?
... (6 Replies)
Discussion started by: luke314pi
6 Replies
5. UNIX for Dummies Questions & Answers
Hi, I recently started running Mandrake Linux with the KDE desktop. Today instead of starting up the desktop, it stayed at the command prompt. What is the linux command for starting the KDE environment? Thanks alot! (4 Replies)
Discussion started by: luke314pi
4 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I'm waiting (impatiently) for the Mandrake 9.0 CD's to arrive. I have scored Man 7.2 and wish to meet the Penguin straight away. So, I changed my BIOS to boot from CD and got underway but it only picked up my Windows hard drives (seperate physical drives). I have a third hard drive... (9 Replies)
Discussion started by: onestepto
9 Replies
7. UNIX for Dummies Questions & Answers
my hdd root dir keeps dumping on me but when i install i use native linux format i i lost again yesterday is there a recovery methead? or a safe mode that i can go into ? i made a boot disk
is it wise to let the formater program to auto alcate? give me a 5gb root drive and a 37gb home i relly... (1 Reply)
Discussion started by: amicrawler2000
1 Replies
8. UNIX for Dummies Questions & Answers
i just got mandrake 10 and i installed xine the latest why does it crash my xserver and how do i fix this problem in mandrake 8 - 9.2 i had no problmes with xine until now with 10 (2 Replies)
Discussion started by: amicrawler2004
2 Replies
9. SuSE
ihave mandrake 9.2 (will upgrade soon to 10) but anyways, i can't get the Hard drive or the CD-ROM or Floppy to show up on the desktop. can anyone help me out? (11 Replies)
Discussion started by: linux_newbe
11 Replies
10. Linux
I just installed mandrake 9.2, and all I want right now is for gaim to allow me to use msn.. The version I got now is 0.59.? and I have tried to get the latest version but when I downloaded the rpm it said that there were errors... can someone help... for my rpm packaging
I have went to Urpmi and... (3 Replies)
Discussion started by: flimzzy
3 Replies
LEARN ABOUT PHP
get_browser
GET_BROWSER(3) 1 GET_BROWSER(3)
get_browser - Tells what the user's browser is capable of
SYNOPSIS
mixed get_browser ([string $user_agent], [bool $return_array = false])
DESCRIPTION
Attempts to determine the capabilities of the user's browser, by looking up the browser's information in the browscap.ini file.
PARAMETERS
o $user_agent
- The User Agent to be analyzed. By default, the value of HTTP User-Agent header is used; however, you can alter this (i.e., look
up another browser's info) by passing this parameter. You can bypass this parameter with a NULL value.
o $return_array
- If set to TRUE, this function will return an array instead of an object.
RETURN VALUES
The information is returned in an object or an array which will contain various data elements representing, for instance, the browser's
major and minor version numbers and ID string; TRUE/ FALSE values for features such as frames, JavaScript, and cookies; and so forth.
The cookies value simply means that the browser itself is capable of accepting cookies and does not mean the user has enabled the browser
to accept cookies or not. The only way to test if cookies are accepted is to set one with setcookie(3), reload, and check for the value.
CHANGELOG
+--------+--------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+--------------------------------------------------+
| 4.3.2 | |
| | |
| | The optional parameter $return_array was added. |
| | |
+--------+--------------------------------------------------+
EXAMPLES
Example #1
Listing all information about the users browser
<?php
echo $_SERVER['HTTP_USER_AGENT'] . "
";
$browser = get_browser(null, true);
print_r($browser);
?>
The above example will output something similar to:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Array
(
[browser_name_regex] => ^mozilla/5.0 (windows; .; windows nt 5.1; .*rv:.*) gecko/.* firefox/0.9.*$
[browser_name_pattern] => Mozilla/5.0 (Windows; ?; Windows NT 5.1; *rv:*) Gecko/* Firefox/0.9*
[parent] => Firefox 0.9
[platform] => WinXP
[browser] => Firefox
[version] => 0.9
[majorver] => 0
[minorver] => 9
[cssversion] => 2
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[vbscript] =>
[javascript] => 1
[javaapplets] => 1
[activexcontrols] =>
[cdf] =>
[aol] =>
[beta] => 1
[win16] =>
[crawler] =>
[stripper] =>
[wap] =>
[netclr] =>
)
NOTES
Note
In order for this to work, your browscap configuration setting in php.ini must point to the correct location of the browscap.ini
file on your system.
browscap.ini is not bundled with PHP, but you may find an up-to-date php_browscap.ini file here.
While browscap.ini contains information on many browsers, it relies on user updates to keep the database current. The format of the
file is fairly self-explanatory.
PHP Documentation Group GET_BROWSER(3)