[PHP-DEV] File inclusion from www.a.com to www.b.com

2002-04-02 Thread Giovanni Lenzi
I'm in trouble with include procedure. I have a file on host http://www.a.com that must be included by the file on the host http://www.b.com The code of the file to be included is as follows: included.php on http://www.a.com ? $vett[0] = zero; $vett[1] = one; $vett[2] = two;

Re: [PHP-DEV] File inclusion from www.a.com to www.b.com

2002-04-02 Thread Marcus Börger
Normally this is a topic for [EMAIL PROTECTED] but i think it 'could' be a good feature to have include/require work with streams. Then the questioned code would work. The quick solution is to open the file is: eval(join('', file('http://www.a.com/includefile'))); marcus At 01:34 01.04.2002, you

Re: [PHP-DEV] File inclusion from www.a.com to www.b.com

2002-04-02 Thread Peter Petermann
Normally this is a topic for [EMAIL PROTECTED] but i think it 'could' be a good feature to have include/require work with streams. Then the questioned code would work. if you do it like mentioned in docs, the questioned code works. regards, Peter Petermann -- Homepage: www.cyberfly.net PHP

Re: [PHP-DEV] File inclusion from www.a.com to www.b.com

2002-04-02 Thread Wez Furlong
include/require already work with streams (and have worked with wrappers for a long time before that). The problem is most likely that host a is parsing the php code ans sending the output to host b. --Wez. On 02/04/02, Marcus Börger wrote: Normally this is a topic for [EMAIL PROTECTED] but