Re: Update to mail() function help
| From: | Sara Golemon | Date: | Fri, 23 May 2003 23:48:34 +0000 |
| Subject: | Re: Update to mail() function help | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1962@lists.php.net to get a copy of this message | ||
> I recall this conversation comming up a month or two ago, this exact usage
> in fact...
>
> The best solution (albiet an ugly one) was to use zend_eval_str() to
> "evaluate" an interpolated string:
>
Erm... I should mention that the context was using a value from an ini
option containing general headers (of which server name could be one), which
is why evaling an interpolated string was used rather than searching the
hash and/or examining the environment as Rasmus already described.
-Sara