
Bjarki M. Karlsson - 2008-07-14 21:57:43
This class is a wonderful thing. Thanks!
However, I can't send information on checkboxes that are ckecked.
My code reads:
$arguments["PostValues"]=array(
"searchphrase"=>$_POST['searchphrase'],
"searchlanguage"=>$_POST['searchlanguage'],
"targetlanguage"=>$_POST['targetlanguage'],
"cbMALFR"=>"on",
"cbRETTRITUN"=>"on",
"cbTUNGUTAEKNI"=>"on",
);
The request body is:
searchphrase=fall&searchlanguage=IS&targetlanguage=&cbMALFR=on&cbRETTRITUN=on& cbTUNGUTAEKNI=on
The first three fields show perfectly up in the receiving application, BUT - it does not recognize the last three, which are of type checkbox.
However, if I use the input form of the web site I am submitting to (checking the relevant boxex), everything if OK.
I have tried =1 and =true instead of =on but no luck.
Hope you can help me.
B.M.Karlsson, Iceland