note 56606 added to function.serialize

From: Date: Fri, 09 Sep 2005 04:24:38 +0000
Subject: note 56606 added to function.serialize
Groups: php.notes 
Request: Send a blank email to php-notes+get-94931@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.serialize.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56606 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56606&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56606&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56606&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56606&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56606&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56606&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56606&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#94931) next »