Re: [PHP] Need a safe way to get user supplied data into a varaible.

2003-06-08 Thread Leif K-Brooks
Why not just use file() and friends? Simon Coggins wrote: Hi, After lots of looking I've worked out I can't use heredoc for what I want. Does anyone else have any better ideas on how to do this: I have a template file that is used to generate a html page. in this template I currently have: $body

Re: [PHP] Need a safe way to get user supplied data into a varaible.

2003-06-08 Thread Lars Torben Wilson
On Sun, 2003-06-08 at 17:15, Simon Coggins wrote: > Hi, [snipped for brevity] > I need some way of putting a block of text into a variable without > having to read it in from a file. From the template point of view, all > that happends is a token is replaced with the body of the text. So > readin