Author posts

Helpful CURL usage examples

in Curl · 1 min read

Some nice advice and tutorials, well explained about using CURL found on

PHP convert CSV to associative arrays

in Php · 1 min read

Something handy when importing CSV files: <?php $csv = array_map('str_getcsv', file($file)); array_walk($csv, function(&$a) use ($csv) { $a = array_combine($csv[0], $a); });

Yii - bypassing beforeSave()

in Php · 1 min read

If you have defined in your model some “actions” / “mutators” in your, beforeSave method there is a simple way to prevent that these actions to take place in certain cases when you need that. For