David Charbonnier wrote:
> 
>>>> I'd prefer a generic function like
>>>> get_form_input($name) which does something like the solution posted by
>>>> dc.ml[at]oxys.net but with also with GET parameters:
>>>> $in = !empty($_POST[$name]) ? $_POST[$name] : $_GET[$name];
>>>>         
>>> I don't like the idea to don't know from which method are data. I don't
>>> use $_REQUEST and your solution is $_REQUEST equivalent.
>>>
>>> If you prefer, we can do get_input($name,$method='A')
>>> 'A' is for All with EGPCS order, and the equivalent of your code should
>>> be 'PG'
>>>     
>>
>> Agree. This would be a good solution.
>>   
> So ? I do it ? Does everybody approve this solution ?

You're welcome to implement this. I guess this function would mainly be
used in the following steps:
program/steps/mail/sendmail.inc
program/steps/settings/save_identity.inc
program/steps/addressbook/save.inc

Just send me your Sourceforge name to get access to the CVS.
> 
> 
> David
> 
Thanks!
Thomas


Reply via email to