Using PHP Session and the CI Session together |
[eluser]bretticus[/eluser]
@Bart v B There's really no "CodeIgniter way" of writing files other than using the File Helper. You could use the write_file('path', $data) function in particular. I'd use PHP's native function: var_export() to write your array variables (config files are just arrays that are loaded each time) to code before saving to a config file. Also, you will have to come up with someway of loading the config file based on the same convention you wrote it (see Loading a Config File in the manual.) |
Welcome Guest, Not a member yet? Register Sign In |