I want to send an xml string as a get parameter,
where the xml is created from a runtime
database query. I try to avoid dynamic framesets,
but sometimes they're needed:
$xml = mysql_stuff($x, $y,$z);
echo "<frameset...>" ;
echo "<frame src=".$PHP_SELF ."?xml=".$xml." >";
snip....
That didn't work, so I tried urlencoding various pieces:
$xmlstr = urlencode($xml) ;
echo "<frameset .....>";
echo "<frame src=".$PHP_SELF ."%3Fxml=".$xml str.">"
.....then, at the other end of the recursive pipe:
$encodedXML = $_GET['xml'];
$xml = urldecode($enco dedXML);
But that causes trouble too.
I suppose I could serialize the xml and save it
as a session variable. There must be a way to pass
XML as a parameter, from one php process to another.
where the xml is created from a runtime
database query. I try to avoid dynamic framesets,
but sometimes they're needed:
$xml = mysql_stuff($x, $y,$z);
echo "<frameset...>" ;
echo "<frame src=".$PHP_SELF ."?xml=".$xml." >";
snip....
That didn't work, so I tried urlencoding various pieces:
$xmlstr = urlencode($xml) ;
echo "<frameset .....>";
echo "<frame src=".$PHP_SELF ."%3Fxml=".$xml str.">"
.....then, at the other end of the recursive pipe:
$encodedXML = $_GET['xml'];
$xml = urldecode($enco dedXML);
But that causes trouble too.
I suppose I could serialize the xml and save it
as a session variable. There must be a way to pass
XML as a parameter, from one php process to another.
Comment