Hi YA,
Basically, i have all these language files that I need to insert into a specific position in my PHP file, depending on the user's choice however include/require will not cut it - I need a function that will return the contents of the language file as if it was included where I type the function. Is this possible?
Thanks.
shanet
Shane Rutter, I have tried that:
echo file_get_contents(..., true);
Thanks anyway
Sorry, I forgot to mention its full of variables, so I can not print/echo it - it needs to be included however I can not just throw the include up the top.
Silent, when I do that it actually puts it in as text and returns it to the website.
Basically, i have all these language files that I need to insert into a specific position in my PHP file, depending on the user's choice however include/require will not cut it - I need a function that will return the contents of the language file as if it was included where I type the function. Is this possible?
Thanks.
shanet
Shane Rutter, I have tried that:
echo file_get_contents(..., true);
Thanks anyway

Sorry, I forgot to mention its full of variables, so I can not print/echo it - it needs to be included however I can not just throw the include up the top.
Silent, when I do that it actually puts it in as text and returns it to the website.