Re: Calling External PHP Script

From: Date: Fri, 16 May 2003 11:50:15 +0000
Subject: Re: Calling External PHP Script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147880@lists.php.net to get a copy of this message
<000001c31b87$69caa910$2a099ccb@stephenbc> Mr Dragonfly: > Hi, > > Does anyone know a method of calling an external PHP script from a > stadard .html page ? > > I have one server with no PHP support at all that contains most of my > exisiting static pages, but I would like to try and update them over > the next few weeks one at a time, to call a script from my other > server which has PHP 4.3.1 running. > > I have tried various methods, but nothing appears to work for me. > > <script language="PHP" > src=" >http://www.phpdomain.com/shownews.php?Category=Site"></script> > > Any help appreciated. > > Thanks > > Mr DragonFly The script language=php only works on PHP servers. You could use <script language="JavaScript" src="whatever"> and have the PHP output document.write commands. Or you could use <object>. -- 1.41421356237309504880168872420969807856967187537694 It's true that it's not true, not taking into consideration the fact that could not be not true, or perhaps the opposite, or perhaps not. The search is more profitable than the find. Never, ever back down. The e-mail given is a spam trap. ..==// Why not? \\==..

« previous php.general (#147880) next »