Mag wrote:
Hi,
I have never done this before (but in my first test it
seems to work), I am include()ing a file into a
variable like this:

$a=include("th-file.php");

Will this give me any extra problems later on? or is
this resource intensive?


I've seen other people do something similar to this,
but if you look at the documentation, include doesnt return data, it just evaluates the file.
My personal opinion is to find another way to do what you want, because, not all setups will work as you may expect.
Maybe look along the lines of ob_get_contents() http://us2.php.net/manual/en/function.ob-get-contents.php


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



Reply via email to