Re: how to urlencode array data for PostToHost ?

From: Date: Wed, 21 Feb 2001 00:04:57 +0000
Subject: Re: how to urlencode array data for PostToHost ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-40861@lists.php.net to get a copy of this message
Serialize and unserialize is good when CGI script expects serialized data. I am looking to the way to POST to somebody's CGI-script that doesn't expect any PHP tricks, but data from <SELECT MULTIPLE>. Is it possible to fake this data somehow from PHP? Richard Lynch wrote: > No. > You can http://php.net/serialize and > http://php.net/unserialize it, or you > can loop through and URLEncode each element in a different INPUT TYPE=HIDDEN > element. > > -- > Visit the Zend Store at http://www.zend.com/store/ > Wanna help me out? Like Music? Buy a CD: > http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > ----- Original Message ----- > From: Sergiy Zhenochin <serega@ics.uci.edu> > Newsgroups: php.general > Sent: Tuesday, February 20, 2001 3:23 PM > Subject: [PHP] how to urlencode array data for PostToHost ? > > > If I want to post array data (like in case of options > > and checkboxes), can I urlencode the array just like a regular string? > > Thanks, > > Sergiy. > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#40861) next »