Passed arrays lose all but first element

后端 未结 6 1712
别那么骄傲
别那么骄傲 2021-01-12 07:21

I have a strange problem. I recently migrated my application from my local xampp installation to a SUSE Enterprise Server 11 and everything is working but this one thing dri

6条回答
  •  长发绾君心
    2021-01-12 08:12

    Tested on my server and it works fine for me:

    _GET["latmin"]  
    
    Array
    (
        [0] => 52.447529
        [1] => 22
    )
    

    Look in your php.ini in the Data Handling section and see what the values are. Reset everything to default, restart the webserver and try again. PHP.ini Data Handling defaults

提交回复
热议问题