----- Original Message -----
From: "Miguel Cruz" <[EMAIL PROTECTED]>
> On Tue, 14 May 2002, Collins, Robert wrote:
> >             $core_functions =
> > "http://www.domain.com/path/to/file/core_functions.php";;
> >     require_once($core_functions);
> 1) You'd have to eval() it rather than requiring it.

I don't think you can eval() a remote file.

> 2) lynx -source -dump
http://www.domain.com/path/to/file/core_functions.php > core_functions.php

All this will do is return you the HTML generated by the PHP file, which
will be empty, probably, if this is a file of function declarations.

> 3) As in Jason's somewhat more effective example, it's slow.

Could you imagine if this worked? You could "include" code from anyone's PHP
server. Someone please correct me if I've just got this all wrong.

---John Holmes...

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

Reply via email to