On Mon, 17 Apr 2006, Ben Dilts wrote:
> Unless I'm mistaken (that's happened once before), if I simply do eval("echo
> 'hello';") in PHP, it executes that code and sends the string 'hello' to the
> HTTP response. I think I must be misreading the documentation, but the
> format is given as this:
>
> eval -i transaction_id -- {DATA}
Section 6 says that all data should be base64 encoded, which means you
should call eval like this:
eval -i 42 -- ZWNobyAnaGVsbG8nOw==
where "ZWNobyAnaGVsbG8nOw==" is
echo 'hello';
encoded with base64.
The reason for this is that you need to be able to send all kinds of
binary data.
regards,
Derick
-- Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.orgReceived on Tue Apr 18 2006 - 08:25:36 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST