Page 1 of 1

user´s data

Posted: Wed Nov 29, 2006 5:20 pm
by visonardo
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.

Posted: Wed Nov 29, 2006 5:46 pm
by visonardo
i did this php file

Code: Select all

<?
echo '<pre>';
print_r(get_browser(null,true));
?>
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? :P


how can i show alll headers sent by user´s browser? :?

Posted: Thu Nov 30, 2006 11:47 pm
by feyd
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.

Posted: Fri Dec 01, 2006 9:35 pm
by visonardo
thank feyd :D