| Yukiko 2004-03-26, 11:13 pm |
| Hello PHPcoders :o)
simple question but not for me !
I have two serwers (php +apache) and i need get to first one script (based
on first server) variable from second one server and use in in a few places
on first script!
first script (public apache web server show $a variable - works ok !)
//-------------------------------
$url = fopen ("http://192.168.10.4/dual.php", "r");
while ($buff = fread ($url, 1024))
$txt .= $buff;
fclose ($url);
eval ('?>'. $txt .'<?');
....................
...................
echo $a; // here is the problem $a is no longer awariable !
//-------------------------------
second script
//-----------------
get data from oracle and put it into $a variable;
echo $a;
//-----------------
second script dual.php (based on 192.168.10.4 )
generate variable $a (from oracle) and show it. But this varialble is not
accesible in first one script !!!
any ideas ??????????
should i use Java Script ?
regards
JA LO
|