On Sun, 7 Apr 2002 20:03:42 +0200, Matjaž Prtenjak <[EMAIL PROTECTED]> wrote: > SERVER1 with PHP.... some file with name xTest.php > xTest.php: ><? echo("Hi from SERVER1"); ?> > > SERVER2 without PHP.... some file with name file1.html > file1.html: ><html> > <body> > Server1 is saying : ????? > </body> ></html> > > How can I make HTML file (on SERVER2) say 'Server1 is saying : Hi from > SERVER1'?
One possibility is an IFRAME. Unfortunately, IFRAME may not be compatible with all of the browsers you need to support and may cause undesirable scrolling effects, so I'd test carefully. One more compatible workaround would be to have your PHP return JavaScript: <script lang="javascript1.1"> document.write("Hello from Server1"); </script> In the HTML page on server2: <script src="http://server1/xTest.php"></script> Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php