Reply to Re: [PHP] Generating a php file

Your name:

Reply:


Posted by Dan Rossi on 05/12/05 04:14

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация