Page 1 of 1

file to string

Posted: Mon Aug 29, 2011 9:27 am
by chopficaro
i was wondering if there's a function out there that will take a file and turn it into a string
and would i have to take care of any escaping?

Re: file to string

Posted: Mon Aug 29, 2011 9:43 am
by phazorRise
function.file-get-contents.php
It's good practice to escape string before processing.