[PHP] Re: PHP from HTML

2002-04-08 Thread Matjaz Prtenjak
THANKS! That works!! Except on PHP side I have to produce javascript code without script tag, like xTest.php - SERVER1 with PHP document.write(?php echo(\This WORKS!!!\); ?); on server 2 I just have to write this inside script tag, like HTML file on SERVER2 WITHOUT PHP html body script

[PHP] Re: PHP from HTML

2002-04-08 Thread Chris Adams
On Mon, 8 Apr 2002 10:18:50 +0200, Matjaz Prtenjak [EMAIL PROTECTED] wrote: Except on PHP side I have to produce javascript code without script tag, like xTest.php - SERVER1 with PHP document.write(?php echo(\This WORKS!!!\); ?); That makes sense - it's been awhile since I've had to do

[PHP] Re: PHP from HTML

2002-04-07 Thread Markas
1. Instead of ? you could use server side includes (this would work on SERVER2 side) below would work on client side: 2. Some Javascript file, which could be downloaded from SERVER1, like SCRIPT SRC=...SERVER1... 3. Use IFRAME Maybe there are some other possibilities... Your problem is just

[PHP] Re: PHP from HTML

2002-04-07 Thread Matja¾ Prtenjak
HI! Your problem is just the same as the case with counters, banners and so Exatctly! I need this, but with counters and banners I can return GIF file so form HTML I can say IMG SRC=server1..., but I need to send (get) som text not picture. 1. Instead of ? you could use server side

[PHP] Re: PHP from HTML

2002-04-07 Thread Chris Adams
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