Re: [PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-30 Thread Jim Lucas [php]
]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 12:12 PM Subject: RE: [PHP] Getting an include file into a string after PHP evaluates the vars? > Actualy I found it's even easier Jim.. > > ob_start(); > include("templates/$card[template].html"); >

RE: [PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-30 Thread Kevin Stone
o: Kevin Stone; [EMAIL PROTECTED] > Subject: Re: [PHP] Getting an include file into a string after PHP > evaluates the vars? > > yes, there is a way out, you can use readfile(). > capture the output using ob_*() functions and then parse/eval that string > > listed here are the

Re: [PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-29 Thread Jim Lucas [php]
al/en/function.eval.php Jim Lucas - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 29, 2002 3:51 PM Subject: [PHP] Getting an include file into a string after PHP evaluates the vars? > I'm using tem

[PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-29 Thread Kevin Stone
I'm using templates to create an interface for a new ePostcard script. The templates are HTML with embedded PHP tags in the likely positions (ie. font, text, bgcolor, etc..). The script include()'s the chosen template file and evaluates the variables stored in the active session for display in th