As recommended in this question I changed my script to use http_build_query
to create a well-formed querystring. This works fine except for a small part.
The interface awaits images, there can be several of them, with the same parameter name for all of them, like this:
&images=$a&images=$b&images=$c
When using http_build_query
and passing an array the querystring in the end looks like this:
&images[0]=$a&images[1]=$b&images[2]=$c
This will fail with the interface and so I need to get rid of the indexes at all. I have seen this solution but I´d like to stick to http_build_query
.
Any ideas how to do this?