如何使用 PHP 为具有多个第三个括号的参数捕获 POST 值?前任。
content[fields][attendees]
content[fields][completed]
好的,让我在这里发布 url 编码的原始数据:
type=activities.update&objectid=75585970&content%5Bid%5D=75585970&content%5Bname%5D=Order+Received%2F+Processing+request+%28may+need+more+info%29&content%5Bcreated%5D=2013-03-15T16%3A09%3A50%2B00%3A00&content%5Bupdated%5D=2013-03-16T06%3A37%3A01%2B00%3A00&content%5Bviewed%5D=2013-03-16T06%3A35%3A21%2B00%3A00&content%5Blevel%5D=1&content%5Bflagged%5D=0&content%5Btypeid%5D=22&content%5Bparenttypeid%5D=2&content%5Bparent%5D=75585967&content%5Bparentname%5D=Tanmoy+Sadhu+%7C+weew+%7C+RSA&content%5Bitem%5D=75585967&content%5Bitemname%5D=Tanmoy+Sadhu+%7C+weew+%7C+RSA&content%5Bitemtypeid%5D=2&content%5Bposition%5D=2&content%5Bfields%5D%5Battendees%5D=&content%5Bfields%5D%5Bcompleted%5D=1&content%5Bfields%5D%5Btitle%5D=Order+Received%2F+Processing+request+%28may+need+more+info%29+
我试过了$_POST['content[fields][attendees]']
,$_POST['content\[fields\]\[attendees\]']
但没有运气。
有什么办法抓住它?