Tuesday 14 May 2019

PHP ini file

// Not recommended to pass parameter via command line to PHP script
// because when a user do: ps auxww . They can see script parameters
// Use php ini file instead https://php.net/manual/en/function.parse-ini-file.php
// Ignore this ini file when uploading to git(upload a sample.ini with new value to git)
// Or use toml for putting arrays, JSON in config file. https://github.com/healthservices-io/wolfdash/blob/master/config/config.toml.example

No comments:

Post a Comment