note 63145 deleted from function.include by tularis

From: Date: Tue, 14 Mar 2006 17:39:21 +0000
Subject: note 63145 deleted from function.include by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-105799@lists.php.net to get a copy of this message
Note Submitter: Reason: spam ---- hi, i like to execute an .php file on an external server and get back some variables, why does this not work ? is it also possible to execute an .asp file, when it writes back php code ? regards thomas -------------------------------------- test.php <?php $pincode = 0; $var1 = 0; $var2 = 0; include 'http://192.168.0.200/voice.php?action=resolve_pin'; echo "pincode=$pincode"; echo "var1=$var1"; echo "var1=$var1"; ?> -------------------------------------- voice.php <?php if ((isset($_GET["action"])) && ($_GET["action"] == "resolve_pin")) { $pincode = '51234'; $var1 = 'hello 1'; $var2 = 'hello 2'; } ?>

« previous php.notes (#105799) next »