Hey all,

I am looking to build a bit of a weird templating system for a project I am
working on. Currently, I am looking at building these templates in separate
text files, and allowing certain elements to be replaced within those files.

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? So if the file contains a quote (") that it does not
kill the string?

Or would this not be an issue if I just used fread to assign the data to the
var?

Thanks,
Wes


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to