Re: [PHP] How to read PHP variables.

2005-07-14 Thread Rory Browne
Thsi is way, way WAY too vague. What exactly do you need a patern for? If you simply want to change it, then just do a $var['whatever'] = value; again in the module you want to change it in. If you want to redo the config file, then you can just loop through the array, printing out, each value

[PHP] How to read PHP variables.

2005-07-12 Thread Bruno B B Magalhães
Hi you all! That's my problem: I have a configuration files with the following structure... $vars['varname'] = 'varvalue'; And I would like to have a module to change those parameters, but I don't know how to write a pattern to match it... Thanks in advance... Best Regards, Bruno B B

RE: [PHP] How to read PHP variables.

2005-07-12 Thread yanghshiqi
-Original Message- From: Bruno B B Magalhães [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 8:21 PM To: php-general@lists.php.net Subject: [PHP] How to read PHP variables. Hi you all! That's my problem: I have a configuration files with the following structure... $vars['varname

Re: [PHP] How to read PHP variables.

2005-07-12 Thread Ahmed Saad
Hi Bruno, On 7/12/05, Bruno B B Magalhães [EMAIL PROTECTED] wrote: Hi you all! $vars['varname'] = 'varvalue'; And I would like to have a module to change those parameters, but I don't know how to write a pattern to match it... i think you mean an API to help you manage and persist your