RE: [PHP] Re: post an array into another site

From: Date: Tue, 09 Dec 2003 12:43:37 +0000
Subject: RE: [PHP] Re: post an array into another site
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172252@lists.php.net to get a copy of this message
On dinsdag 9 december 2003 13:11 Jay Blanchard told the butterflies: > [snip] > ...wow... > [/snip] > > All of this an no one mentioned cURL? ;) > http://www.php.net/curl Yes .. ehmm, especially considering this wasn't the guy's actual question. If I read it correctly, it was this: On 12/08/2003 10:30 AM, Fred wrote: > I have an array in php like this: > > $arr[0][0] = "Something"; > $arr[0][1] = "Hello"; > $arr[0][2] = "Hi"; > > It is possible to post this array to another site in a form? Or how > can i do this? which makes me think he just wants to post same data from one page of a site to another page of (possibly) another site. For that I would probably rethink some major parts of my code, if I find myself wanting to do that. If it turns out I really want it, serialize(), htmlentities() and a hidden field would be my solution. Or, if I remain on my own site add it to $_SESSION. It was an interesting discussion, though ;)

« previous php.general (#172252) next »