curl-library
PHP style postfields with []
Date: Mon, 28 Oct 2002 17:48:42 -0800
Hello,
Im trying to write a stats collector that collects stats from various websites. For one of them they have this (edited for room)
<input type=checkbox name="stat[]" value="raw" checked>
<input type=checkbox name="stat[]" value="uniq" checked>
<input type=checkbox name="stat[]" value="join" checked>
and so forth, if i wanted to check more than to have raw and uniq checked, how would i send this in the post fields, i have tried
parms = "stat[]=raw&stat[]=uniq";
and
parms = "stat=raw";
but it doesnt appear to be working, any thoughts ?
Charles
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-29