I collect some PHP code in an HTML form (textarea) I then save this in an
array in a file using export_var().  If the code entered in the textarea is
this:

echo "To "._LOGIN." click the login link below";

And the constant _LOGIN happens to be defined in the current script that
generates the form (maybe _LOGIN = "Login" ), then the result after my
var_export() to the file is this:

$var = 'To Login click the login link below";';

Any ideas on how to keep the text of the constant definition in the string
instead of it being evaluated???

TIA,
Shawn



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to