note 2366 deleted from include by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 05:48:28 +0000 |
| Subject: | note 2366 deleted from include by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1467@lists.php.net to get a copy of this message | ||
OK include() and virtual() are very useful... but though I found a problem...
When I make a call to a php3 file using a complete URL, all existing variables are unknown to the
included file!
<BR>
<BR>
Example 1:
<BR>
<PRE>
$test="Hello there!";
include("http://xxxxx.com/xxx/file.php3");
</PRE>
<BR>
In this case; the 'file.php3' is NOT aware of the existing of $test !! HELP!
<BR>
<BR>
Example 2:
<BR>
<PRE>
$test="Hello there!!";
include("file.php3");
</PRE>
<BR>
BUT in this case, 'file.php3' IS aware of the existing of $test AND the content of it ( a
string in this case ).
<BR>
<BR>
Is there anyone out there who is able to solve this problem, as described in example 1 ? ? ? ?! ! !
!
<BR>
<BR>
Thanx,
Jean-Pierre