[nycphp-talk] Jamming multi-dimensional arrays in a Query string.
Jeff Siegel
jsiegel1 at optonline.net
Wed Aug 4 16:14:36 EDT 2004
The nice thing about serializing is that, when you unserialize it,
you'll immediately know if someone mucked with the URL string, i.e.,
if (!unserialize([$_GET['mystuff'])) echo 'Hey...don't mess with that
string!!';
Jeff S.
Joel De Gan wrote:
> Honestly, serialize is your best bet here.
> You can also compress it if need be.
>
> -joeldg
>
> On Wed, 2004-08-04 at 19:31, woodwort wrote:
>
>>Interesting...
>>
>>maybe serialize()? http://us2.php.net/serialize
>>
>>
>>
>>On Aug 4, 2004, at 3:19 PM, Chris Bielanski wrote:
>>
>>
>>>Hey gang,
>>>I've tried unsuccessfully to make this happen but I haven't got any
>>>more
>>>time to tinker exhaustively on it so...
>>>
>>>Anyone have a method for getting a multidimensional array passed on the
>>>query string using GET?
>>>
>>>For now I'm just going to go back to multiple arrays and process them
>>>"the
>>>hard way".
>>>
>>>
>>>Thanks,
>>>Chris Bielanski
>>>Web Programmer,
>>>International Trademark Association,
>>>1133 Avenue of the Americas, 33rd Floor
>>>New York, NY 10036
>>>+1 (212) 642-1745, f: +1 (212) 768-7796
>>>mailto:cbielanski at inta.org, www.inta.org
>>>INTA -- 125 Years of Excellence
>>>
>>>
>>>_______________________________________________
>>>New York PHP Talk
>>>Supporting AMP Technology (Apache/MySQL/PHP)
>>>http://lists.nyphp.org/mailman/listinfo/talk
>>>http://www.newyorkphp.org
>>>
>>
>>_______________________________________________
>>New York PHP Talk
>>Supporting AMP Technology (Apache/MySQL/PHP)
>>http://lists.nyphp.org/mailman/listinfo/talk
>>http://www.newyorkphp.org
More information about the talk
mailing list