What all can $_server[] do?
Moderator: General Moderators
-
seeker2921
- Forum Contributor
- Posts: 120
- Joined: Sat Mar 22, 2003 7:10 pm
- Location: Wiesbaden Germany
- Contact:
What all can $_server[] do?
Okay, So I have been looking for a list of what $_server[] can I do, I know that $_server['remote_addr']; returns the client IP and I want to put on my site a list of info about the clients comp, Like browser, ip, os, url referer, ect.. so I went to php.net and searched for it and got nothing so could someone give me a link to the manuel info on this?
-
Paddy
- Forum Contributor
- Posts: 244
- Joined: Wed Jun 11, 2003 8:16 pm
- Location: Hobart, Tas, Aussie
- Contact:
Never used it much myself but this should put you to sleep at night. 
http://au2.php.net/manual/en/reserved.v ... les.server
http://au2.php.net/manual/en/reserved.v ... les.server
$_SERVER depends on server
Create a simple php page:
to see which elements are set for your server.
Code: Select all
var_dump($_SERVER);-
seeker2921
- Forum Contributor
- Posts: 120
- Joined: Sat Mar 22, 2003 7:10 pm
- Location: Wiesbaden Germany
- Contact: