You are here: Re: [PHP] How to read PHP variables. « PHP « IT news, forums, messages
Re: [PHP] How to read PHP variables.

Posted by Rory Browne on 07/14/05 15:35

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 of the array as you go. Otherwise you could
just use var_export().

On 7/12/05, Bruno B B Magalhães <brunobbm@rio.com.br> wrote:
> 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 Magalhaes
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация