RE: [PHP-ES] Como PAsar un Array por la URL
| From: | Gabriel Carbone | Date: | Thu, 16 May 2002 17:30:55 +0000 |
| Subject: | RE: [PHP-ES] Como PAsar un Array por la URL | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-22755@lists.php.net to get a copy of this message | ||
-----Mensaje original-----
De: Fabio Hernando Arias Vera [mailto:coolturatek@hotmail.com]
Enviado el: Thursday, May 16, 2002 14:20
Para: lista@phpes.com
Asunto: [PHP-ES] Como PAsar un Array por la URL
>Necesito saber como pasar un array por medio de la URL.
$url = "xxx.com?vector=".urlencode(serialize($vector));
header(...);
y al recibirla:
$vector = unserialize($vector); //y se obtiene el array original