Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

sending variable between two servers
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






Report this thread to moderator Post Follow-up to this message
Old Post
Yukiko
03-27-04 04:13 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:50 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.