I have a value from a $GET from a desktop app. I really need it to be a $POST because I want to send it to an api and IE has a limit on the length of $GET string value pairs that I need to avoid. I could query the database but that means installing a web server for this particular database. It is a proprietary non open source database so if I can avoid that and just convert the $GET to a $POST I'm done. Do you have any ideas on this? The http get string url gets sent to my server
via the application. So I capture that in the php $GET but i'm wondering if I need to insert some Javascript to do the conversion? Should I make it a hidden form? Or should it be an XMLHTTPRequest? I want this code exactly only I would like the $GET to be a $POST.
thanks,
$addrArray = $_GET['addr']; ********
$addrArrayDecode = rawurldecode($addrArray);
$addrArrauDecodeUnserial = unserialize(addrArrayDecode);
$gm = & new EasyGoogleMap($googlemaps_api_key);
Set address point(s)
foreach( $addrArrayDecodeUnserial as $key => $value){
$gm->SetAddress($value);
$gm->SetInfoWindowText("This is a Test.");
}
$_POST['addr'];
I wonder if I need an XMLHTTPrequest object? I know this is a Javascript question but I just want to know if that