I am using Apache with php version 4.0.4pl1. I am trying to display data in
a popup window. I want to pass there variables, one string and two normal
arrays.
Both the $name and $data variables contain valid data in the dispData
routine, however the $data2 array is always blank.
**************
$name = urlencode($name);
$data = urlencode(serialize($data));
$data2 = urlencode(serialize($data2));
$return_value .= '<form>';
$return_value .= '<input type=button
onClick=window.open("dispData.php?pass='.$title.'-'.$data.'-'.$data2.'")
value="Graph">';
$return_value .= '</form>';
**************
dispData.php
list ($name, $data, $data2) = split ('[=-]', $pass);
$name = urldecode($name);
$data = unserialize(urldecode($data));
$data2 = unserialize(urldecode($data2));
Any ideas?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]