Why i want that? by it -> viewtopic.php?p=333744#333744
I want to know how can i keep all visitor´s data. why? because i need put this vars to my script that read remotes sites and if you saw the example shown over, will understand.
My idea is do a php that show me this values that can take with php from the user (i would be the user) and then set this value to my script and solve my problem.
user´s data
Moderator: General Moderators
- visonardo
- Forum Contributor
- Posts: 136
- Joined: Mon Oct 02, 2006 7:49 pm
- Location: Argentina, South America´s Sun.
i did this php file
but show me it:
Warning: get_browser(): browscap ini directive not set. in /home2/leonardo/public_html/m.php on line 3
btw, how take all this data php? from the headers?
how can i show alll headers sent by user´s browser?
Code: Select all
<?
echo '<pre>';
print_r(get_browser(null,true));
?>Warning: get_browser(): browscap ini directive not set. in /home2/leonardo/public_html/m.php on line 3
btw, how take all this data php? from the headers?
how can i show alll headers sent by user´s browser?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
get_browser() requires some php.ini alternations, otherwise you need to use an alternative.. I've posted at least one before...
apache_request_headers() may be of interest if you're running on Apache and the functions are enabled/installed.
apache_request_headers() may be of interest if you're running on Apache and the functions are enabled/installed.