PHP-SmartCSS requires PEAR Net_UserAgent_Detect class to be executed, no matter if class is installed or included as a locally executable PHP file. dependency!
Installing PEAR Net_UserAgent_Detect
Installing PEAR class Net_UserAgent_Detect is definitely very easy; how you should do it, on the other hand, depends on your operating system or distribution. For instance, if you run a Debian-based Linux distribution, all you need to do is to type the following in your console:me@mycomputer:~$ sudo apt-get install php-pear
me@mycomputer:~$ sudo pear install Net_UserAgent_Detect
If you run a Fedora-core Linux distribution, you need to type the following in your console:
me@mycomputer:~$ su
root@mycomputer:~# yum install php-pear
root@mycomputer:~# yum pear install Net_UserAgent_Detect
I you run a Microsoft operating system, type this in a DOS window (follow on-screen instructions if necessary):
C:\> c:\php\go-pear.bat
C:\> pear install Net_UserAgent_Detect