including URL's

From: Date: Fri, 09 Aug 2002 08:39:02 +0000
Subject: including URL's
Groups: php.general 
Request: Send a blank email to php-general+get-111783@lists.php.net to get a copy of this message
I want to include a parameterised URL in a php script. Something like <?php include "http://www.myprimary.com/form.php?persion=1" ?> where form.php might contain something like <?php echo "<form><input type=hidden name=person value=$_GET['person']></form>"; ?> Is this possible (in particular is it possible if the script is on a different machine)? Is there some way to achieve this effect. I'm trying to keep things as modular as possible even to the extent that some modules live on different servers. TIA Henry

« previous php.general (#111783) next »