Re: [SMARTY] Using $HTTP_POST_VARS for $smarty.post...
| From: | Joscha Feth | Date: | Wed, 12 Mar 2003 15:28:31 +0000 |
| Subject: | Re: [SMARTY] Using $HTTP_POST_VARS for $smarty.post... | ||
| References: | 1 2 3 4 5 6 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8578@lists.php.net to get a copy of this message | ||
Paul Lockaby wrote:
> Joscha Feth wrote:
>> Paul Lockaby wrote:
>>
>>> Try this: $HTTP_POST_VARS =& $_POST
>>
>>
>> I know - just try it and you will see it does not work!
>>
>
> Ok, ok, maybe $HTTP_POST_VARS = array_merge($HTTP_POST_VARS, $_POST)?
> Maybe?
huh? I don not see your problem - what would be easiest ist making
$HTTP_POST_VARS a reference to $_POST, as this is not possible, the only way
is to copy $_POST to $HTTP_POST_VARS, that is possible but a reference would
be faster and more elegant.
greets,
Joscha