To: bdistler or other knowledgeable members, Dec. 17, 2016
In order to better serve clients visiting my site, I would like to keep a db log of visits, including date/time, agent, screen & window sizes (all easy), and MAC (as a rough client identifier, to distinguish repeat visitors) and type of device (using get_browser.php, if possible). These latter two are giving me fits (MAC and device). I am using php, html, and javascript.
The php function requires a version of browscap (lite_php_browscap is acceptable) and an entry in php.ini pointing to the browscap config file.
I see from your explanations (Nov. 8, 2015 and Nov. 24, 2016) that "[due] to the large security risk - x10hosting's free-hosting users do not have access to the [ php.ini ] file."
Is there a work-around for this problem? I have not worked with a browscap file before, so I am reluctant to guess at solutions. I am tempted to try renaming "lite_php_browscap" to simply "browscap" and putting the file in my x10 "/" root directory. I don't see any other obvious place to put it.
I am betting you know what I should do.
Thanks in advance. Paulz
In order to better serve clients visiting my site, I would like to keep a db log of visits, including date/time, agent, screen & window sizes (all easy), and MAC (as a rough client identifier, to distinguish repeat visitors) and type of device (using get_browser.php, if possible). These latter two are giving me fits (MAC and device). I am using php, html, and javascript.
The php function requires a version of browscap (lite_php_browscap is acceptable) and an entry in php.ini pointing to the browscap config file.
I see from your explanations (Nov. 8, 2015 and Nov. 24, 2016) that "[due] to the large security risk - x10hosting's free-hosting users do not have access to the [ php.ini ] file."
Is there a work-around for this problem? I have not worked with a browscap file before, so I am reluctant to guess at solutions. I am tempted to try renaming "lite_php_browscap" to simply "browscap" and putting the file in my x10 "/" root directory. I don't see any other obvious place to put it.
I am betting you know what I should do.
Thanks in advance. Paulz