[snip]
i need to include() only a given amount of lines (the first 10 for
example)
instead of a whole file.
[/snip]


I have never tried it, but I think you could open up the file you want
to include, import n lines into a variable, then use the eval function
to turn that variable into php code.

Somebody correct me if I am wrong.

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

Reply via email to