Passing ARRAY through URL
| From: | Squirrel User | Date: | Sat, 08 Feb 2003 01:36:03 +0000 |
| Subject: | Passing ARRAY through URL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25515@lists.php.net to get a copy of this message | ||
Help. I've tried to pass large array through URL but it keep telling me page
can not be displayed:
<? // page1.php
$mList = arrary();
... // fill array with values
$mList = urlencode( serialize( $mList ) );
header( "location: page2.php?mL=$mList" );
?>
<? // page2.php
$mList = stripslashes( unserialize( $mL ) );
print_r( $mList );
?>
-------------------------------------------------
This mail sent through ISOT. To find out more
about ISOT, visit http://isot.com