function wtgpt_pearcsv_include(){
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'){
ini_set('include_path',rtrim(ini_get('include_path'),';').';'.dirname(__FILE__).'/pear/');
}else{
ini_set('include_path',rtrim(ini_get('include_path'),':').':'.dirname(__FILE__).'/pear/');
}
require_once 'File/CSV.php';
}
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
TRUSTED BY
ASKER
If you think it looks good then I'm sticking with it. I'm just checking because I was still really new to PHP when I started using this.
Thanks