It’s time to have a config class, so we can configure our project without changing code. You should change your code only if you have to fix bugs or expand/adjust your logic, but not if you want to have other configurations (e.g. path to logfile, debug mode, etc…). In this class we will read the configuration from […]
Many websites must read csv files, to import customer data, to read some custom settings, etc… We will expand this class later to set the csv options from an xml config file or a database, but for now see examples below.