On 12/05/2005, at 8:01 AM, Rory Browne wrote:

I'm still not sure I understand, although I'm getting there.

This might be useful.
$dynamicly_generated_script = "<?php
\$buffer = \$_SERVER['QUERY_STRING'];
\$somevar = '{$this->somevalue}';
?>";

As might this:
$dyn_gen_script = sprintf(
'<?php
$buffer = $_SERVER["QUERY_STRING"];
$somevar = \'%s\';
?>'
, $this->somevar );

\

Ahh it looks like i have to addslashes to dollar signs ! I'll try tonight cheers.


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



Reply via email to