Re: [PHP] Read and Escape file

2002-04-05 Thread Erik Price
On Friday, April 5, 2002, at 02:50 AM, Miguel Cruz wrote: > Certain characters have special meanings in string literals (that is, > strings you explicitly type into your PHP source code) but if you get > them > in via other means (reading from file, reading from form submissions, > etc.) then

Re: [PHP] Read and Escape file

2002-04-04 Thread Miguel Cruz
On Thu, 4 Apr 2002, Weston Houghton wrote: > I'm thinking then of reading these text files into php through filesystem > functions, turning the template into a string assigned to a php variable. Is > there anyway I can do this and escape any elements in the file that might > terminate the string?