Sancar Saran wrote:
I just wondering this..

For example I had a several php pages. In this page there was an array named $arrHede

It has lots of values.

in index.php
$arrHede['antin']='yada';

in config.php
$arrHede['kuntin']='bada';

and so.

So I want to write a scrpit check all those files to get all $arrHede keys. And I do not want to include those files because of errors.

Maybe it's just me, but I didn't see a question anywhere in that lot, just a statement of what you want to do. Seems obvious to me that you need to open each file, find assignments to the $arrHede array and pull out the values. Have you even tried to do that yet? We're not here to write scripts for you. Try it and come back if/when you have problems.

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to