note 56606 deleted from function.serialize by aidan
| From: | aidan@php.net | Date: | Fri, 09 Sep 2005 05:04:52 +0000 |
| Subject: | note 56606 deleted from function.serialize by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94932@lists.php.net to get a copy of this message | ||
Note Submitter: Zach at fsw dot cn
Reason: useless
----
I saw down below something about an easy way to pass variables between two different hosts, at run
time using php.
The really simple way to do that is to do it the same exact way you would on one host.
<?
include "http://example.com/somedir/filethathasmyinfo.php";
?>
Nothing like using a php script, to write out a php script, that will be used elsewhere.
Literally, make it the output -
<?
echo "<?\n$x="Hi Mom";\n?>";
?>
No different than calling it from the localhost.