In article <2so03gF1nbi1qU1@uni-berlin.de>, Tim Van Wassenhove wrote:
> In article <d3354680.0410080907.4c50e18b@posting.google.com >, Mike wrote:
>> Is there any way I can use a function to create a variable and assign
>> a value to it? I have a Perl script that returns some LDAP
>> information:
>>
>> sn=Shore
>> givenname=Mike
>> logintime=20041008153445Z
>> logindisabled=FALSE
>>
>> Instead of parsing this text and assigning the values, I was wondering
>> if a function exists where I can pass a variable name and a value, and
>> the variable would be created.
>
> The output looks like what i see in a ini file, so you could consider
> using ini_get?
I meant
http://www.php.net/parse_ini_file
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>