[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    on Tuesday, September 02, 2003 4:28 PM said:

> instead of including the whole database.php i need to include only a
> given number of lines, always starting with the first one.

I don't think you're going to be able to do this in the way that you
want (I've been wrong before).

I think your only option is to somehow rip the lines that you want into
another file before you do the include.

You could try using the the file system to copy only certain lines to
another temporary file and then include that temp file instead of the
whole thing.

Another option would be to tweak the logic so that it's not so bloated.


Chris.

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

Reply via email to