Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.