Re: [PHP] Generating a php file

2005-05-11 Thread Dan Rossi
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 = "somevalue}'; ?>"; As might this: $dyn_gen_script = sprintf( '' , $this->somevar ); \ Ahh it looks like i have to addslashes to dollar signs

[PHP] Generating a php file

2005-05-11 Thread Rory Browne
Sorry forgot to cc to the list - again I'm still not sure I understand, although I'm getting there. This might be useful. $dynamicly_generated_script = "somevalue}'; ?>"; As might this: $dyn_gen_script = sprintf( '' , $this->somevar ); On 5/11/05, Dan Rossi <[EMAIL PROTECTED]> wrote: > > On 12

Re: [PHP] Generating a php file

2005-05-11 Thread Dan Rossi
On 12/05/2005, at 6:03 AM, Rory Browne wrote: You can start by clarifying. I had to read your message three times before I got a vague understanding. What I'm hearing is that you want to put something like into a string? You are having difficulty doing this because you are finding that your string

[PHP] Generating a php file

2005-05-11 Thread Rory Browne
You can start by clarifying. I had to read your message three times before I got a vague understanding. What I'm hearing is that you want to put something like into a string? You are having difficulty doing this because you are finding that your string contains the value of $msg, instead of a dol

[PHP] Generating a php file

2005-05-11 Thread Dan Rossi
Hi there I am trying to generate a php file, which has variables that i need to have in it ie $_SERVER but not actually be parsed as they need to be in the actual script. I also need to send some variables to assign values to other variables in the script. How is this possible ? I have tried pl